2-15 编程练习作业提交
来源:2-15 编程练习
MiMicccc
2020-08-24 00:10:27
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<!-- 补充代码 -->
<style>
body {color: blue; font-family: "微软雅黑"; font-size: 2em;}
.fontWeight {font-weight: bold;}
.fontStyle {font-style: italic;}
.fontVariant {font-variant: small-caps;}
</style>
</head>
<body>
<!-- 补充代码 -->
<p class="fontWeight">font-weight属性规定字体粗细</p>
<p class="fontStyle">font-style属性规定字体的样式</p>
<p class="fontVariant">font-variant属性设置文本为小型大写字母</p>
</body>
</html>1回答
同学你好,效果是正确的,继续加油,祝学习愉快~
相似问题