Introduction
HTML (Hyper Text Mark-up Language): It is not a programming language, but a descriptive markup language, used to describe the display method of content in web pages, such as what color and size the text is Display, etc., are all implemented using Html tags.
HTML document structure
All web page files use four pairs of tags to form the skeleton of the document. They are:
<html> <head> <title> 标题 </title> </head> <body> 正文 </body> </html>
Summary:
…Identifies web page files The beginning and end of all Html elements must be placed in this pair of tags.
…Identifies the header information of the web page file, such as title, search engine keywords, etc.
Common HTML tag syntax
1. Single tag
1.
Single type, no attribute value
For example:
——Indicates line break character
2.
& lt; mark name & gt; ... & lt;/mark name & gt;
No attribute value
: & lt; title & gt; ... & lt; title & gt;
4. & lt; mark name attribute = "attribute value" & gt; ... & lt;/mark name & gt; Format:
"Visited text color" alink="Activated link text color" leftmargin="Left margin">
Marker
Syntax:
Text
Character format
Paragraph mark Format:…
Special characters in HTML For a more detailed understanding of HTML syntax, please view the HTML Reference Manual.
For more articles related to summary of basic HTML syntax, please pay attention to the PHP Chinese website!