Meta tags are often ignored by HTML beginnersis to die ., but it is important for a website.
- Definition: Provides meta-information about the page. For example, keywords and descriptions for search engines and update frequency. Simply put meta tags and search engines to deal with, can optimize website seo.
- Format:
- Inside the head tag
- Self-closing and labeling
- Browser support: Full
- Property:
- Content: Defining meta-information related to Http-equiz and name
- Http-equiz: Associating content to the HTTP header
- Name: associating content to name
- Scheme: Used to specify the scheme to be used to translate attribute values (H5 has been discarded
- CharSet: Convenient setup encoding (H5
- Function: (speaking is commonly used, or is useful for a rainy future
- Encoding settings
- Page language Settings
- timed Refresh and redirection
- keywords
- ex:
< meta name = "keywords" content = "East Jiaotong University, East China Jiaotong College Day New Network" >
- provides a list of keywords for search engines, which is especially important for SEO! In addition on-line see has such written
< meta name = "Keywords" Lang = "EN" Content >
Meta Properties I wrote it in front, and no lang, no standards found. The declaration language should use the Content-language mentioned earlier or lang= "zh" in the HTML tag to set
- Web Content Description
- Ex: <Meta name= "description" content= "Online home for teachers and students of Jiaotong University" >
- To tell the search engine, of course.
- Set BOT access rights
- Other settings
- such as the author, copyright
- Mobile-side meta-use (mobile trend!)
- The next is irresponsible recommendation, in the collection of information when it felt useful on the record, has not been tested.
- Cookie settings
- Window display Settings
- RSAC Grade Assessment
- Cache control
- It only implements the forbidden cache.
-
Sets the expiration time for the cache, in the format GMT ex:
< meta http-equiv = "Pragma" content = "No-cache" > < meta http-equiv = "Cache-control" content = "No-cache" > < meta http-equiv = "Expires" content = "0" >
- Other functions
- In fact, some of the functions of IE applications are many, but after all, is not a common phenomenon, to provide a link, interested can look at the next
- http://msdn.microsoft.com/en-us/library/ie/ms533876 (v=vs.85). aspx
PS: Some meta functions are too old, chrome can't see the effect, ie do not want to test.
Meta tags for website performance