我的代码对吗
来源:2-5 编程练习
求田问舍刘郎才气
2021-02-19 21:57:49
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>css3选择器</title>
<!-- 补充代码 -->
<style>
a {
text-decoration: none;
color: red;
}
#h1label {
color: green;
}
#h2label {
color: blue;
}
</style>
</head>
<body>
<!-- 补充代码 -->
<a href="#">我是a链接1</a>
<a href="#">我是a链接2</a>
<a href="#">我是a链接3</a>
<h1 id="h1label">我是h1标签</h1>
<h2 id="h2label">我是h2标签</h2>
</body>
</html>
1回答
同学你好,代码是正确的。继续加油,祝学习愉快!
相似问题