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

藏色散人
Release: 2020-05-12 13:35:46
Original
6716 people have browsed it

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".

Tag syntax

<meta name="value">
Copy after login

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

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

Example 2 - Define web page description:

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

Example 3 - Define page author:

<meta name="author" content="Hege Refsnes">
Copy after login

Example 4 - Refresh the page every 30 seconds:

<meta http-equiv="refresh" content="30">
Copy after login

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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!