请老师检查一下代码是否正确。谢谢。
来源:2-5 编程练习
慕斯卡2474635
2021-05-18 17:20:25
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>css3选择器</title>
<!-- 补充代码 -->
<style>
a {
color: red;
text-decoration: none;
}
#title1 {
color: green;
}
#title2 {
color: blue;
}
</style>
</head>
<body>
<!-- 补充代码 -->
<a href="">我是a链接1</a>
<a href="">我是a链接2</a>
<a href="">我是a链接3</a>
<h1 id="title1">我是h1标签</h1>
<h2 id="title2">我是h2标签</h2>
</body>
</html>
1回答
同学你好,代码实现效果很棒。继续加油,祝学习愉快!
相似问题