<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
.box>p{
/*字体颜色*/
color: red;
/*字体大小*/
font-size: 30px;
/*字体类型*/
font-family: 仿宋;
/*字体加粗 100-900 bold=800*/
font-weight: bold;
/* italic 倾斜*/
font-style: italic;
}
em{
font-style: italic;
}
</style>
</head>
<body>
<div class="box">
<p>对酒当歌,人生几何</p>
</div>
<em>呦呦鹿鸣</em>
</body>
</html>
字体属性
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.