The meaning of meta tags in html

Source: Internet
Author: User

Meta name Keywords
Meta is an accessible tag in the head area of the HTML language. In almost all pages, we can see HTML code similar to the following:
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
Maybe you think the code is dispensable. In fact, if you can use good meta tags, will bring you unexpected results, such as keywords will be automatically collected by large search sites automatically, you can set the page format and refresh and so on.
I. Composition of META tags
Meta tags have a total of two properties, which are the Http-equiv property and the Name property, and different properties have different parameter values, these different parameter values to achieve a different page function.
1. Name property
The name attribute is mainly used to describe the Web page, and its corresponding property value is content,content content is mainly convenient for search engine robot to find information and classification information.
The syntax format for the Name property of the meat tag is: <meta name= "parameter" content= "specific parameter value".
Where the name attribute mainly has the following parameters:
A, Keywords (keywords)
Description: Keywords is used to tell search engines what keywords are on your page.
Example: <meta name = "keywords" content= "science, Education,culture,politics,ecnomics,relationships, entertaiment, human" >
B, description (Website content description)
Description: Description is used to tell search engines the main content of your website.
Example: <meta name= "description" content= "This page was about the meaning of science, education,culture." >
C, Robots (Robot Wizard)
Description: Robots is used to tell the search robot which pages need to be indexed and which pages do not.
The content parameters are all,none,index,noindex,follow,nofollow. The default is all.
Example: <meta name= "Robots" content= "none" >
D, author (author)
Description: The author of the callout page
Example: <meta name= "Author" content= "Bluebox,[email protected]" >

The meaning of meta tags in html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.