<html>
<head>
<title>第一个页面</title>
</head>
<body>
hello world
</body>
</html>
html 是整个html文件的根标签,代表这是一个html格式
head标签里记录页面的属性
body标签写的是页面上显示的内容
title标签是页面的标题
注释标签
<!-- 我是注释 -->
标题标签:h1-h6
<h1>hello</h1>
<h2>hello</h2>
<h3>hello</h3>
<h4>hello</h4>
<h5>hello</h5>
<h6>hello</h6>
段落标签:p
<p>这是一个段落</>
p标签之间存在一个空隙,前面没有空格.中间的空格和换行均无效
换行标签:br
br为break的缩写,属于但标签,不需要结束标签
<p>在 css 中我们一般使用 px 作为单位<br/></p>
格式话标签
加粗:Strong标签和 b标签都可倾斜:em标签或者i标签删除线:del标签和s标签下划线:ins标签和u标签
<strong> strong 加粗</strong><b>加粗</b><em>倾斜</em>