首页 > 代码库 > css_基础属性

css_基础属性

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus?">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>css_基础属性</title>
<style type="text/css">
h1{font-family: "幼圆","黑体";
font-size: 30px;font-style: normal;
text-decoration: underline;
text-align: center;
border: 1px solid red;
}

h2{font-family: "幼圆" font-size:2cm;font-style: italic;text-decoration: overline;text-align: left; text-indent:2cm; }

h3{font-size: 300%; text-decoration: line-through;text-align: right;}

div{background-color: red; height: 200px; border: 1px solid blue;}

p{border-top: 1px solid red;}
h5{border-left: 1px dashed green ;}


</style>



</head>
<body>
<h1>aaa</h1>
<h2>bbb</h2>
<h3>ccc</h3>

<div>
我是div

</div>
<p>我是P标签</p>
<h5>h55555</h5>


</body>
</html>

css_基础属性