<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
div {
width: 300px; /* 宽度 */
height: 300px; /* 高度 */
color: red; /* 字体颜色 */
background-color: yellowgreen; /* 背景色 */
font-size: 50px; /*字体大小*/
}
span {
font-size: 40px;
}
</style>
</head>
<body>
<div>
<ul>
<li>a</li><li>b</li><li>c</li>
</ul>
</div>
<span>span1</span>
<div>div2</div>
</body>
</html>
评论0