Current location - Quotes Website - Signature design - What are the header tags of web page files?
What are the header tags of web page files?

Overview of head tags:

lt;headgt;tag

In the head element of HTML language, it generally needs to include title, base information, and meta information wait. Generally, CSS and JavaScript are defined in the head element, and the content defined in the HTML language header is often not displayed directly on the web page. It is used to contain information about the current document.

lt;headgt;

lt;meta charset="UTF-8"gt;

lt;titlegt;Documentlt;/titlegt;

lt;/headgt;lt;titlegt;tag

The title of an HTML file is displayed in the title bar of the browser to describe the purpose of the file. Every HTML document should have a title. In an HTML document, the title text is located between the and tags. The lt;titlegt; and lt;/titlegt; tags are located at the head of the HTML document, that is, between the lt;headgt; and lt;/headgt; tags.

lt;metagt;tag

The information provided by the meta element is invisible to the user. It is not displayed on the page. It is generally used to define the name, keywords, and author of the page information. wait. In HTML, the meta tag does not need to set a closing tag. Within an angle bracket is a meta content, and there can be multiple meta elements in an HTML header page.

There are two attributes of the meta element: name and http-equiv. The name attribute is mainly used to describe web pages to facilitate search engine robots to find and classify them. The most important of these are description (description of the site on search engines) and keywords (keywords).

Commonly used header tags