Use meta tags to enhance web page functionality

Source: Internet
Author: User
Tags format character set window
What is a Web meta? Accustomed to using Frontpage2000 and other tools to make Web page designers, can not really answer it! Users who are familiar with HTML syntax will know that meta is actually an auxiliary tag in the HTML language head area. In almost every web page, we can see the HTML code similar to the following:
Some people want to say, this piece of code seems dispensable, not much practical effect! It's not useless, but you're not using meta tags. Why do you say that? This is because the META tags have many parameters and use different parameters to enable the home page to implement different functions, such as identifying authors, setting page formats, labeling content feeds and keywords, refreshing pages, and so on! Let us now uncover the mystery of the META tag!

I. Composition of META tags
Meta tags have two properties, they are the Http-equiv property and the Name property, different properties have different parameter values, these different parameter values to achieve different Web page features.
1, Name property
The name attribute is mainly used to describe the Web page, and the corresponding attribute value of Content,content is mainly convenient for search engine robot to find information and classify information.
The meat label's Name property syntax format is:
The Name property has the following main parameters:
A, Keywords (keywords)
B, description (Website content description)
C, Robots (Robot Guide)
D, author (author)
2, Http-equiv Property
Http-equiv as the name implies, the equivalent of HTTP file header, it can send back some useful information to the browser to help correct and accurate display of Web page content, and the corresponding property value of the content,content is actually the variable value of each parameter.
The HTTP-EQUIV attribute syntax format for meat tags is:; the HTTP-EQUIV attribute has the following parameters:
A, Expires (term)
B, Pragma (cache mode)
C, refresh (refreshing)
D, Set-cookie (Cookie set)
E, Window-target (display window settings)
F, Content-type (display set of character set)

second, meta tags of the function
We've covered some of the basics of the META tags, and then we'll take a look at the common features of the META Tags:
1, help the homepage by the major search engine login
2, define the use of the language of the page
3, automatically refresh and point to the new page
4, the implementation of Web page conversion animation effect
5. Web Page Grading Evaluation
6, control the page buffer
7, control the window displayed by the Web page.

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.