字体样式
<!--
font-family: 字体
font-size: 字体大小
font-weight: 字体粗细
color: 字体颜色
-->
<style>
body{
font-family: "Arial Black", 楷体,serif;
color: #cdbb21;
}
h1{
font-size: 50px;
}
.p1{
font-weight: bolder;
}
</style>
<!--
字体风格 oblique斜体
字体粗细 bolder 粗体
字体大小
字体样式
-->
<style>
p{
font: oblique bolder 16px "楷体";
}
</style>
span标签
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
#title1{
font-size: 40px;
}
</style>
</head>
<body>
欢迎学习<span id="title1">Html</span>
</body>
</html>
https://www.bilibili.com/video/BV1YJ411a7dy?p=9