html

<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<style type="text/css">
/*通配符选择器*/
*{
font-size:30px;
color: blue;
}
/*元素选择器*/
div{
width: 1000px;
height: 300px;
background: #fa1;
}
/*类选择器*/
.div_1{
width: 500px;
height: 300px;
background: #345;
}
.div_1:hover{
background: #eee;
}
/*id选择器*/
#div_11{
width: 500px;
height: 300px;
background: #eee;
}
/* a{
color: red;
} */
a:link{
color: #ddd;
}
div:hover{
color: #000;
background: #678;
/* width: 20px;
height: 20px;*/
}
a:visited{
color: #345;
}


#pp:first-line{
color: red;
}
#pp:first-letter{
color: #777;
}
</style>
</head>
<body>
<div class="div_1" id="div_11" style="background: red;">
<h1>h1</h1>
<p>p</p>
</div>
<div>
<a href="CSS嵌入模式.html" target="_blank">移动上来 吧</a>

<a href="#" target="_blank">移动上来1 吧</a>
</div>
<div>div3</div>
*******************************************************<br/>

<p id="pp">
万万没想到<br/> 阿拉拉拉拉拉拉拉拉拉
呵呵 你 <br/> 呵呵你 就要呵呵你
八嘎!
所噶!
</p>
</body>
</html>

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。