What are the identifiers used to set page meta information in HTML?
The identifier used to set page meta information in html is Meta;
(recommended tutorial: html introductory tutorial)
Meta element
The header element contains summary information about the document.
HTML also contains meta elements located inside the head element. The purpose of the Meta element is to provide meta-information about the document.
In most cases, the meta element is used to provide information related to the browser or search engine, such as describing the content of the document, etc.
Tip: Some user programs support using META to refresh the current page after a set number of seconds and replace it with another url. Developers should not use this technique to force users to go to a different page, as this can make the page less usable. Instead, use server-side redirection for automatic page redirection.
Keywords for search engines
Some World Wide Web search engines use the name and content attributes of the meta tag to index pages.
This Meta element defines the description of the page:
<meta name="description" content="Free Web tutorials on HTML, CSS, XML, and XHTML" />
This Meta element defines the keywords of the page:
<meta name="keywords" content="HTML, DHTML, CSS, XML, XHTML, JavaScript, VBScript">
The name and content attributes are used to describe the page. content.
However, because so many webmasters are using meta tags to create spam, such as repeating keywords on pages to improve rankings, some search engines have completely given up on using them.
The above is the detailed content of What is the identifier used to set page meta information in html. For more information, please follow other related articles on the PHP Chinese website!