HTML is called Hypertext Markup Language and is a markup language. It includes a series of tags. These tags can unify the document format on the network and connect scattered Internet resources into a logical whole. HTML text is descriptive text composed of HTML commands. HTML commands can describe text, graphics, animations, sounds, tables, links, etc.
A complete HTML document must contain 3 parts: document declaration, document header and document body. It is they that constitute the skeleton structure of HTML. The document declaration and document header have been introduced respectively before. This article will introduce in detail the basic elements that constitute the HTML skeleton structure. The
HTML
element represents the root (root) of the HTML document. All other elements are descendants of this element. The and tags define the start and end points of the document, and between them are the head and body of the document. The head of the document is defined by the
tag, while the body is defined by the tag[xmlns]
xmlns attribute is used for assignment The document's XML namespace. The default value is "http://www.w3.org/1999/xhtml", which is required in XHTML and optional in HTML
<html xmlns="http://www.w3.org/1999/xhtml">
HEAD
## The # tag is used to define the head of the document, which is a container for all head elements. ; is mostly invisible and describes some basic attributes and information of the document (title and icon can be presented). The sub-elements under the element mainly include six elements: ,