老师检查一下
来源:2-15 编程练习
慕虎5913535
2019-03-10 08:43:17
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<!-- 补充代码 -->
<style type="text/css">
div{color: blue}
.oneP{font-weight: bold;}
.twoP{font-style: italic;}
.threeP{font-variant: small-caps;}
</style>
</head>
<body>
<!-- 补充代码 -->
<div class="oneP">font-weight属性规定字体的粗细</div>
<div class="twoP">font-style属性规定字体的样式</div>
<div class="threeP">font-variant属性设置文本为小型大写字母</div>
</body>
</html>1回答
同学你好,如下,字体大小与字体没有设置哦,例:


希望能帮助到你,欢迎采纳。
祝学习愉快!