LN :跟着W3School学HTML 005
内容参考自w3school
HTML 教程
HTML标题
- 等标签进行定义的。
定义最大的标题。 定义最小的标题。
实例解析
<h1>This is a heading</h1><h2>This is a heading</h2><h3>This is a heading</h3>
效果展示
This is a heading
立即学习“前端免费学习笔记(深入)”;
This is a heading
This is a heading
HTML水平线
标签在 HTML 页面中创建水平线,可用于分隔内容。
实例解析
<p>This is a paragraph</p> <hr /> <p>This is a paragraph</p> <hr /> <p>This is a paragraph</p>
效果展示
This is a paragraph
This is a paragraph
This is a paragraph
HTML 注释
实例解析
<html> <body> <!--这是一段注释。注释不会在浏览器中显示。--> <p>这是一段普通的段落。</p> </body> </html>
效果展示
这是一段普通的段落。











