Home >Web Front-end >HTML Tutorial >How to briefly describe the basic structure of html (with code)

How to briefly describe the basic structure of html (with code)

不言
不言Original
2018-07-21 17:49:108103browse

每一个HTML文件都是有自己固定的结构的,每一个文件的基本结构又都包含有三个标记:HTML文件标记;HEAD文件头部标记;BODY文件主体标记;接下来我们就来具体看一下HTML基本结构的代码。

基本结构代码:

1 
2     ...
3     ...
4 

代码讲解:

1. 称为根标签,所有的网页标签都在中。

2. 

标签用于定义文档的头部,它是所有头部元素的容器。头部元素有、<script>、 <style>、<link>、 <meta>等标签,头部标签在下一小节中会有详细介绍。<p>3. <body></script>

The above is the detailed content of How to briefly describe the basic structure of html (with code). For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn