First, what is HTML?
HTML (Hypertext Markup Language) is a Hypertext Markup language, which means that pages can contain images, links, and even non-textual elements such as music, programs, and so on.
It marks each part of the Web page you want to display with a marker symbol.
- HTML is not a programming language, but a markup language
- Markup language is a set of tag tags (markup tag)
- HTML uses tag tags to describe Web pages
- HTML document contains HTML tags and text content
- HTML documents are also called Web pages
Second, HTML tags
- HTML tags are keywords surrounded by angle brackets , such as cannot start with a number
- HTML tags are usually paired up, such as <b> and </b>
- The first label in the pair is the start tag <b>, and the second tag is the end tag </b>
- Some label functions are simple, use a label, for example: <br/>
< tags > content </tags >
Third, HTML properties
Properties are additional information provided by HTML elements
- HTML elements can set properties
- property to add additional information to the element
- Properties are generally described in the start tag
- A property is always in the form of a name/value pair, such as: name= "value".
IV. overall structure of HTML documents
All HTML documents have three document-level elements:HTML, head, body. These three tags divide the HTML document by several partitions
<! DOCTYPE html>
<meta charset= "UTF-8" >
<title> Title Section </title>
<body>
... Document Body part ...
</body>
A minimal HTML document template is as above:
Each page requires only one document title, that is, only one title
The body part of the document can be tagged to complete the contents
Initial knowledge of HTML