Home > Web Front-end > HTML Tutorial > What is the identifier used to set page meta information in html

What is the identifier used to set page meta information in html

藏色散人
Release: 2020-04-15 11:46:59
Original
10531 people have browsed it

What is the identifier used to set page meta information in html

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" />
Copy after login

This Meta element defines the keywords of the page:

<meta name="keywords" 
content="HTML, DHTML, CSS, XML, XHTML, JavaScript, VBScript">
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template