美化网页元素:
有效的传递页面信息,美化网页,凸显主题,提供体验
span标签:重点要突出的字,使用span标签套起来
字体样式:
font-family字体样式
font-size字体大小
font-weight字体粗细
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
body{
font-family: "Algerian",楷体;
color: darkcyan;
}
h1{
font-size: 50px;
}
.p1{
font-weight: bolder;
}
</style>
</head>
<body>
<h1>故事介绍</h1>
<p class="p1">
我有一碗酒。
</p>
<p>
为你付出的青春,这么多年。
</p>
<p>
I have searched a thousand years,And I have cried a thousand tears.
I found everything I need, You are everything to me.
</p>
</body>
</html>