标签:style color ar div html ad ef htm as
学习了css的基础知识。
主要是属性元素。
最主要的style。
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/css.css">
<style type="text/css">
.Div_class_Name{
width: 100px;
height: 200px;
background-color: #ddd;
}
#Div_class_Name{
width: 100px;
height: 200px;
background-color: #f32;
}
div{
width: 500px;
height: 500px;
}
</style>
</head>
<body>
<div style="width:100px;height:100px;background-color:#ffaa22;">内联式</div>
<div class="Div_class_Name">嵌入式.</div>
<div id="Div_class_Name">嵌入式#</div>
<div id="GO_Div_class_Name">外部样式</div>
</body>
</html>
标签:style color ar div html ad ef htm as
原文地址:http://www.cnblogs.com/chenjiren0109/p/4014750.html