The three parts that make up the html code are: 1. The "html" part, which is the root tag of the html document and the ancestor container of all html tags; 2. The "head" part represents the Header information is the container for all head elements; 3. The "body" part mainly contains some elements that make up the content of the web page.
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
Basic code structure of HTML page
<!DOCTYPE html> <html> <head> <title>标题</title> </head> <body> 内容 </body> </html>
The three parts that constitute the html code:
< html></html>
-------html tag is the root tag of the html document. All web page tags are placed in this pair of tags, which is the ancestor container of all html tags.
<head></head>
-------The head tag represents the header information of the html document and is the container for all head elements. The internal Contains: