Home >Web Front-end >HTML Tutorial >The basic structure of an html document is organized by which three pairs of tags
The basic structure of the html document is organized by tags, tags and tags. Tags are responsible for telling the browser that this is an HTML document; tags are containers for all head elements; tags are responsible for defining the body of the document.
The basic structure of an html document is organized by the tag, the
tag and the tag.(Recommended tutorial: html tutorial)
Analysis:
Document tag,
< ;/head>Head tag, Text tag, these three tags are the components of the basic structure of HTML.Detailed introduction:
1. The
element is the container of all head elements. The element must contain the title of the document and can contain scripts, styles, meta information and more.2. The body element defines the body of the document.
The body element contains all the content of the document (such as text, hyperlinks, images, tables and lists, etc.)
3. The tag tells the browser that this is an HTML document . The
tag is the outermost element in an HTML document. The
tag is a container for all other HTML elements (except the tag).
The above is the detailed content of The basic structure of an html document is organized by which three pairs of tags. For more information, please follow other related articles on the PHP Chinese website!