Tags provide metadata about HTML documents. The metadata will not be displayed on the page, but is readable to the machine. It can be used in browsers (how to display content or reload pages), search engines (keywords), or other web services. Original address: http://segmentfault.com/blog/ciiaocc/1190000002407912
Author: ciaocc
Copyright belongs to Ciaocc. Please indicate the copyright when reprinting.
summary
Tags provide metadata about HTML documents. The metadata will not be displayed on the page, but is readable to the machine. It can be used in browsers (how to display content or reload pages), search engines (keywords), or other web services. - W3School
Necessary attributes
| property | value | describe |
|---|---|---|
| content | some text | Define meta information related to http-equiv or name attributes |
| property | value | describe |
|---|---|---|
| http-equiv | content-type/expire/refresh/set-cookie | Associate the content attribute to the HTTP header. |
| name | author/description/keywords/generator/revised/others | Associate the content property to a name. |
| content | some text | Defines the format used to translate content attribute values. |
SEO Optimization
Reference Documents
Page keywords , each web page should have a unique set of keywords that describe the content of the web page.Use people may search and accurately describe descriptive and representative keywords and phrases that are provided on the information on the web page. If the tagged content is too short, search engines may not consider it relevant. In addition, the mark should not exceed 874 characters.
Copy the code