css实例005–id选择器
id 选择器通过 #开头来定义 通过 id属性来调用 id选择器只能被调用一次
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>id选择器</title>
<style>
/* # 定义id选择器 通过id来调用 但是只能调一次 */
#red {
font-size: 50px;
}
</style>
</head>
<body>
<strong>
小明 <br>
</strong>
<b>
小红 <br>
</b>
<em>
小蓝
</em>
<i id="red">
小绿 <br>
</i >
<del>
小黑 <br>
</del>
<s>
小城 <br>
</s>
<ins>
小白 <br>
</ins>
<u>
小傻瓜 <br>
</u>
</body>
</html>