HTML (Hyper text MarkUp Language) is a Hypertext Markup language, which is a language used to describe the structure and representation of a document by using tags, which is parsed by the browser and then displayed on the Web page, which is the basis of the page composition. The HTML file must use HTML or HTM as the file name suffix.
HTML is the carrier of the content of the Web page, the content is that the page creator on the page want to let users browse information, including text, pictures, etc., is only a general framework, its font size, color, borders, etc. must be done with CSS and JS.
The HTML language is actually very recognizable, with two angle brackets:< and > Wrapped up as tags (tag). All text content that is wrapped up by a pair of tags (such as < p> and </p>) is called an element. The label at the beginning of the element is called the start tag, and the label at the end is called the end tag. There can be no text between the start and end tags (such as < I ></i >) there is a special self-closing tag, such as a horizontal line < HR/> or Picture < IMG/, whose slash is inside the angle brackets, so the label itself is a An element. The element has its name, which is the first word that follows the angle bracket of the start tag. Elements can be nested, but not cross-closed.
The HTML also includes attributes (attribute). The attribute appears in the start tag of the element, with a space that distinguishes the attribute from the property name = "Property value"
HTML Basic page code:
<! DOCTYPE html> (show HTML version, not label,)
<meta charset= "UTF-8" > (can be displayed in Chinese)
<title> This is the title of the page </title>
<body>
This is what the Web page displays.
</body>
All HTML pages must start with,html> and end with
(i) HTML basic understanding