编辑器:创建文本文件->修改后缀为.html
一、三层结构:html head body
<html> :告诉浏览器是html类型
<head> :页面不显示部分
<meta>
<title
</head>
<body> :页面显示部分
<h1 align(对齐方式)=left/right/center/justify > </h1>
<p bgcolor="yellow" > </p>
<a herf="链接路径 "> </a>
<img src=" 图片路径 " width= height= />
</body>
</html>
<html> :告诉浏览器是html类型
<head> </head> :页面不显示部分
<body> </body> :页面显示部分
</html>
注释:<!注释内容>
空格:  :<body>  </body>
换行:<br>
二、<head>中包含两种标签
1、<meta>
(1)单标签
(2)http-equiv content charest
2、<title>
(1)出现在浏览器标题栏——
eg.<title> 我的网页 </title>
三、<body>中包含四种标签
1、标题:
(1)会自动换行
(2)<h1> ~ <h6> :数字越小,字体越大
(3)
eg.<h1> biggest title </h1>
.<h1 align(对齐方式)="left/right/center/justify" > biggest title </h1>
2、段落:
eg.<p> first paragraph </p>
<p bgcolor="yellow" > first paragraph </p>
3、链接:
eg.<a href="http://www.w3school.com.cn">This is a link </a>
4、图像:
(1)单标签
eg.<img src="w3school.jpg" width="104" height="142" />