这是HTML文档的声明,它告诉浏览器使用的是哪个HTML版本。
这是HTML文档的根元素,所有的HTML代码都应该放在这个元素中。
3.
这个元素包含了HTML文档的元数据,比如文档的标题、CSS样式表、JavaScript代码等。
4.
这个元素定义了HTML文档的标题,它会显示在浏览器的标签栏中。
5.
6.
–
这些元素定义了HTML文档中的标题,从
到分别表示不同的标题级别。
7.
这个元素定义了HTML文档中的段落。
8.
这个元素定义了一个图片,它可以显示在HTML文档中。
10.
- 和
这些元素定义了一个无序列表和列表项,它们可以用来显示一组相关的内容。
以上是一些常用的HTML通用代码,初学者可以根据自己的需要选择不同的标签和属性来编写HTML文档。希望这份HTML代码清单能够帮助初学者更好地学习HTML。