Meta is an auxiliary label for the HTML language Head area. In almost all of the pages, we can see HTML code similar to the following paragraph:
Maybe you think the code is optional. In fact, if you can use a good meta tag, it will bring you unexpected results, such as the keyword will automatically be collected automatically by the large search site, you can s
The robots.txt file mainly restricts the access of search engines to the entire site or directory, while the robots meta tag mainly targets specific pages. Like other meta tags (such as the language used, page description, and keywords), robots meta tags are also placed on t
The Profile tab provides metadata about the HTML document. The metadata is not displayed on the page, but is readable for the machine. It can be used in browsers (how to display content or reload pages), search engines (keywords), or other Web services. --w3school Required Attribute Property value Description Content Some text defines meta information related to HTTP-EQUIV or name attribute optional attribu
The so-called META tag is used to describe the properties of an HTML Web document, also known as meta-information, which is not displayed in the browser's page, such as author, date and time, page description, page refresh, etc.Basic syntax:The Name property and the Content propertyThe Name property is used to describe the Web page, which is a name in the form of
attribute.Page_enter, Page_exitSet special effects when entering a pagehttp-equiv= "Page-enter" contect= "Revealtrans (duration=1.0 , transtion=12) "> Set special effects when leaving the pagehttp-equiv= "Page-exit" contect= "Revealtrans ( duration=1.0,transtion=12) "> The value of duration is the time, in seconds, that the page dynamically transitions.Transition is the transition mode, which has a value of 0 to 23, corresponding to 24 transition modes respectively. As the following t
. If set to Yes, the user is allowed to change it instead of No. The default value is yes. If you set it to No, then both Minimum-scale and Maximum-scale will be ignored because scaling is not possible at all. Note: All scaling values must be within the range of the 0.01–10.additional META tags other commonly used attribute usage parsing:1, When browsing on a phone, this tab is used to specify whether to display the phone number in the page content as
I. Composition of meta tagsMeta tags have two attributes: http-equiv and name. different attributes have different parameter values, which enable different webpage functions.1. name attributeThe 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 att
With HTML5 documents to make the page on the effect of the PC is no problem, but the mobile browser will zoom to the page is very small, you can see the entire page but can't see the word!! Just add the META tag to the Page Head tab viewport statement: can help you solve this seemingly bad problem. Viewport Syntax Introduction: Content= "Height = [Pixel_value | device-height],width = [Pixel_value | device-
Beijing Tian An men, the sun rises on Tiananmen Square." ";var re =/Beijing | Tiananmen/g; Find Beijing or Tiananmen Global matchvar str2 = str.replace (re,function (str) {alert (str); Used to test: the first parameter of the function represents each search to match the regular character, so the first STR refers to the second STR in Beijing is the third time Str is Tiananmen Squarevar result = ';for (Var i=0;iResult + = ' * ';}return result; So search for a few words to return a few *});Alert (
Meta tag sorting-heroes
页面描述 -->
页面关键词 -->
定义网页作者 -->
// Define the indexing method of the Web search engine. robotterms is a group of values separated by commas (,).// There are usually the following values: none, noindex, nofollow, all, index, and follow.
// It is used to describe the text and languag
Because see many pages Meta tags function: search engine optimization (seo), define the language of the page, automatically refresh and point to the new page, to achieve web page conversionWhen the dynamic effect, control the page buffer, page rating evaluation, control of the page Display window and so On.1.name PropertiesName Property Main Parameter:Keywords (key words)Description (website Content Descrip
Browser supportAll browsers support Definition and usageThe The The difference between HTML and XHTMLThe,In XHTML, the,Tips and Comments:Note The:Note: Metadata is always passed in pairs in the form of a name/value.Required Properties
Properties
value
Description
Content
Some_text
Define meta information related to the HTTP-EQUIV or Name property
1. Specify the character set:http-equiv= "Content-type" Content= "text/html; Charset=utf-8" />2, the search engine to explain the keywords of your page:name= "keywords" content= "keyword"/>3, tell the search engine the main content of your site:name= "description" content= ""/>4, tell the search engine the production of your sitename= "Author" content= ""/>5, timed to let the page in the specified time
1.meta tags are used to define file information, to describe the Web page file, and to facilitate search engine searches. between placement 2. set keyword: 3. setting Description: 4. set 5. set character Sets: 6. set timed jump: 7. Settings page does not cache
(not to be continued ...) )
Meta
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.