Home >Web Front-end >HTML Tutorial >HTML basic syntax summary
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:
100db36a723c770d327fc0aef2ce13b1…73a6ac4ed44ffec12cee46588e518a5eIdentifies web page files The beginning and end of all Html elements must be placed in this pair of tags.
93f0f5c25f18dab9d176bd4f6de5d30e…9c3bca370b5104690d9ef395f2c5f8d1Identifies the header information of the web page file, such as title, search engine keywords, etc.
b2386ffb911b14667cb8f0f91ea547a7…6e916e0f7d1e588d4f442bf645aedb2fIdentifies the title of the web page file
d96dbbabefd0e0dae3e289562aba1772Identifies the main part of the web page file
Common HTML tag syntax
1. Single tag
1. b1ab284f054a8e81770b7654e2337c09
Single type, no attribute value
For example: 076402276aae5dbec7f672f8f4e5cc81——Indicates line break character
2. de82501655935d6004958f1ffb6907a7
& 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">
240cb830ca84ebaabbd07850110b414dMarker
Syntax:
ff643b2edd88a1ad927407556aab5feaTexte6e38b3c62e8df885fe2e3986461aa63
Character format
Paragraph mark Format: 81079b8aa4e9964bf3c39084013d6b71…94b3e26ee717c64999d7867364b1b4a3Special 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!