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條經驗 獲得超8個贊
我唯一的額外輸入是,通過正確縮進代碼,它有助于盡早發現這些問題,這樣您就可以看到封裝了哪些代碼塊。也不需要頂部額外的 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 關注
- 146 瀏覽
添加回答
舉報