1.HTML的文件结构
<html>
<head>
<title>.....</title>
</head>
<body>
<p>This is a paragraph.</p>
<p>This is an another paragraph.</p>
</body>
</html>
html链接是通过a标签定义的:
<a href="http://shiyanlou.com">This is a link</a>
HTML图像image是通过标签进行定义的:
<img src="shiyanlou.jpg" width="100" height="142" />
HTML标签对大小写不敏感,上面的标签也只是其中的一部分,并不代表全部标签。
标签和元素的区别:
标签<> ,元素包括标签头和尾还有中间的文本。