Use meta tags to Enhance web page Functions

Source: Internet
Author: User

What is meta? I am used to using tools such as frontpage2000 to create web page designers. I can't answer this question if I'm not sure! Users familiar with HTML syntax will know that meta is actually an auxiliary tag in the head area of HTML language. In almost all webpages, we can see the following HTML code:
Some people have to say that this piece of code seems dispensable and does not have much practical effect! In fact, it is not useless, but you are not using the meta tag. Why? This is because meta tags have many parameters. Different parameters can be used to enable different functions on the homepage. For example, they are used to identify the author, set the page format, and label the content feed and keywords, and refresh the page! Let's unveil the secrets of the meta tag!

I. Composition of meta tags
Meta tags have two attributes: http-equiv and name. different attributes have different parameter values, which enable different webpage functions.
1. Name attribute
The name attribute is mainly used to describe the webpage, and the corresponding attribute value is content. The content in the content is mainly used to facilitate search engine robots to find information and classify information.
The syntax format of the name attribute of the meat tag is:
The name attribute has the following parameters:
A. Keywords)
B. Description (website content description)
C. Robots (robot wizard)
D. Author (author)
2. http-equiv attributes
HTTP-equiv, as its name implies, is equivalent to an HTTP File Header. It can return some useful information to the browser to help display the webpage content correctly and accurately. The corresponding attribute value is content, content is actually the variable value of each parameter.
The syntax format of the HTTP-equiv attribute of the meat tag is:. The HTTP-equiv attribute mainly has the following parameters:
A. expires (TERM)
B. Pragma (Cache Mode)
C. Refresh (refresh)
D. Set-cookie (cookie setting)
E. Window-target (display window settings)
F. Content-Type (display character set setting)

Ii. meta tag Functions
We have introduced some basic components of meta tags. Next let's take a look at the common features of Meta Tags:
1. Help the home page to be logged on by various search engines
2. Define the language of the page
3. Automatically refresh and refer to the new page
4. Implement the animation effect during webpage Conversion
5. webpage Rating Evaluation
6. Control page Buffering
7. Control the webpage display window.

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.