Home  >  Article  >  Web Front-end  >  What should be the value of the name attribute of the web page keyword?

What should be the value of the name attribute of the web page keyword?

藏色散人
藏色散人Original
2020-04-26 11:31:186721browse

What should be the value of the name attribute of the web page keyword?

#What should be the value of the name attribute when setting web page keywords?

Set the name attribute value of web page keywords to "keywords".

e8e496c15ba93d81f6ea4fe5f55a2244 Tag syntax

<meta name="value">

name attribute specifies the name of the metadata. specifies the name for the metadata.

The name attribute specifies the name of the information/value of the content attribute.

Note: If the http-equiv attribute is set, the name attribute should not be set. The

e8e496c15ba93d81f6ea4fe5f55a2244 tag provides metadata for an HTML document. The metadata will not be displayed on the client, but will be parsed by the browser.

The META element is usually used to specify the description, keywords, last modification time of the file, author and other metadata of the web page.

Metadata can be called using browsers (how content is displayed or pages are reloaded), search engines (keywords), or other web services.

Example 1 - Define document keywords for search engines:

<meta name="keywords" content="HTML, CSS, XML, XHTML, JavaScript">

Example 2 - Define web page description:

<meta name="description" content="Free Web tutorials on HTML and CSS">

Example 3 - Define page author:

<meta name="author" content="Hege Refsnes">

Example 4 - Refresh the page every 30 seconds:

<meta http-equiv="refresh" content="30">

Recommended tutorial: html tutorial

The above is the detailed content of What should be the value of the name attribute of the web page keyword?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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