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">
img[title ][id]{ border: 1px solid red;width: 200px;height: 200px; }
</style>
</head>
<body>
<img src="" alt="" title="img01" id="tag01" />
<img src="" alt="" title="img02" />
<p>我是短路</p>
<h1>我是标题</h1>
</body>
</html>