Home >Web Front-end >HTML Tutorial >Summary of commonly used html elements including basic structure, document type, header, body, etc._HTML/Xhtml_Web page production

Summary of commonly used html elements including basic structure, document type, header, body, etc._HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:38:141587browse

1. Basic structure:

Copy code
The code is as follows:



< head>







2. Document type:

(1)HTML 4.01



(2)HTML5



(3)XHTML 1.0

Copy Code
The code is as follows:



3. Header:
(1) Character set

Copy code
The code is as follows:



(2) Introduce JS

Copy code
The code is as follows:






(3) Introducing CSS

Copy Code
The code is as follows:




(4) Set the default jump

Copy code
The code is as follows:




(5) Set search engine related information

Copy code
The code is as follows:




4. Main body:

(1) Basic content

Copy code
The code is as follows: