Home >Web Front-end >HTML Tutorial >What are the main structures of html file production?
HTML should be familiar to novices. HTML is HyperText Markup Language (English: HyperText Markup Language, referred to as: HTML) is a standard markup language used to create web pages. "Hypertext" means that the page can contain pictures, links, and even non-text elements such as music and programs. The structure of hypertext markup language includes a "head" part (English: Head) and a "body" part (English: Body). The "head" part provides information about the web page, and the "body" part provides the specific content of the web page.
So this article mainly introduces you to the basic structure of html documents.
1. HTML document mark, also called html start mark
2.
html file header mark, also called html header information start mark TagFunction: used to contain basic information of the file, such as the title of the web page.
Note: The content within the
tag will not be displayed in the browser. Tags such as3.
Function: The "theme" of the page is displayed in the upper left corner of the browser window.
Note: The title of the web page should not be too long, but should be short and concise, and can reflect the content of the page. The
<body alink="red"></body>5. Meta-information of the page (meta-information) Function: Provide meta-information about the page, such as descriptions and keywords for search engines and update frequency. Necessary attributes: content value some text defines meta-information related to the name attribute. Common name attributes: author (webpage author) keyword (webpage keyword) description (webpage description) others (other language information)Note: must be placed in the head element . I hope this summary of the HTML document structure in this article will be helpful to friends in need!
The above is the detailed content of What are the main structures of html file production?. For more information, please follow other related articles on the PHP Chinese website!