CSS中的属性选择器
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<link rel="icon" type="image/icon-x" href="images/logo.png">
	<title>css中属性选择器</title>
	<style type="text/css">	
      *{margin: 0px;padding: 0px;}     
	   body{background: url(images/3.jpg) no-repeat right top;font-family: 楷体;}
	   /*属性选择器:对带有指定属性的 HTML 元素设置样式*/
	   [title]{color: red;}
	  /* 属性和值选择器*/
	   [title=red]{text-decoration: none;font-weight: bold;font-size: 30px;}
	</style>
</head> 
<body>
<h1 title="word">css中属性选择器</h1>
<h2 title="word">css中属性选择器</h2>
<a href="" title="red">css中属性选择器</a>
</body>
</html>