3 回答
TA贡献1799条经验 获得超6个赞
您的结束标签似乎位于错误的位置,
将结束符 /h1 放在 /font 之后
你的第二行应该是 h3 而不是 ap,并将结束 /h3 放在 /font 之后
在第三行将结束 /p 放在 /font 之后
希望这可以帮助!
TA贡献1820条经验 获得超2个赞
尝试这个
<!DOCTYPE html>
<head>
<title>This page definitely has a title</title>
<style>
body {
font-family: "Times New Roman", Times, serif;
}
</style>
</head>
<body>
<p>This is some text!A level 1 heading with a tooltip that says 'tooltip' (with the quotes)</p>
<p>This level 3 heading has a link to <a href="https://www.ww3schools.com">https://www.ww3schools.com</a></p>
<p>This is just a regular paragraph.</p>
</body>
</html>
TA贡献2039条经验 获得超7个赞
我唯一的额外输入是,通过正确缩进代码,它有助于尽早发现这些问题,这样您就可以看到封装了哪些代码块。也不需要顶部额外的 HTML 标签。
<!DOCTYPE html>
<head>
<title>This page definitely has a title</title>
</head>
<body>
<font face="Times New Roman">
<h1>
<font size="5">
This is some text!A level 1 heading with a tooltip that says 'tooltip' (with the quotes)
</font>
</h1>
<p>
<font size="3">
<b>
This level 3 heading has a link to <a href="https://www.ww3schools.com">https://www.ww3schools.com</a>
</b>
</font>
</p>
<p>
<font size="3">
This is just a regular paragraph.
</font>
</p>
</font>
</body>
</html>
- 3 回答
- 0 关注
- 102 浏览
添加回答
举报