018 — Exercice HTML 018
Voir le code source
018css古诗排版.html
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>古诗排版</title>
<style>
body {
text-align: center;
}
p {
font-family: LiSu;
}
.a1 {
font-size: 150%;
}
.a2 {
font-size: 200%;
}
.a3 {
font-size: 250%;
}
</style>
</head>
<body>
<h2>早发白帝城</h2>
<p>李白</p>
<p>朝辞白帝彩云间,</p>
<p class="a1">千里江陵一日还。</p>
<p class="a2">两岸猿声啼不住,</p>
<p class="a3">轻舟已过万重山。</p>
</body>
</html>