What is the basic structure of html? What are the two major components of html structure? Many students will have a deep impression of html when they first come into contact with html. Let's summarize what parts of html files are? Let you have an understanding of the basic structure of html.
#What are the parts of the html file?
html is a web page with the .html suffix, which we also call a static page. The html file structure is composed of two parts:
and , but the complete html file also includes declarations and titles, the encoding declaration of the web page, etc. Many html files are composed of these two parts, but the naming suffix is different.In html, the tag is in the head of
and is not displayed in html. In the head, we can put the js, css and title of the page into the head. .In the main body
, the placed content is displayed to the user. You can use div css style for layout. This is also the most important area. Finally, use a html> Close the website.The above is a complete introduction to the parts of html files. If you want to know more about Html5 tutorial, please pay attention to the php Chinese website.
The above is the detailed content of What parts does the html file have?. For more information, please follow other related articles on the PHP Chinese website!