Again understanding of meta tags

META tag is used to describe an HTML page document properties such as author, date and time, page description, keywords, page refresh and so on.

Specified character marks Collection

<meta charset="utf-8">

Keyword description pages to search engines

<Meta name = "keywords" content = "keyword">

The main contents tell the search engine your site

<meta name="description" content="主要内容">

The authors tell the search engine to make your site

<meta name="author" content="Tiboo">

Responsive page

<meta name="viewport" content="width=device-width, initial-scale=1.0">

Timing make Web pages jump to a specific url in 3 seconds

<meta http-equiv="refresh" content="3" url="https://huaban.com/">

X-UA-Compatible is set IE8 since a newly added for the following IE8 browser is not recognized. By setting the value of the X-UA-Compatible in the meta can be specified page the compatibility mode.

If Google Chrome Frame (Google Chrome Frame) installation referred to GCF, use the GCF to render the page ( "chrome = 1"), if not GCF installed, use the highest version of IE core rendering ( "IE = edge "). X-UA-Compatible (take what version of the browser to render the current page)

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

Kernel control of the browser

<meta name="renderer" content="webkit|ie-comp|ie-stand">

Domestic mainstream browser are dual-core browser: high-speed browsing popular sites for Webkit kernel based on IE kernel is mainly used for normal use part of the site online banking, government, office systems and so on.

360 as an example: Just add a meta tag to your site, telling the browser 360 to this site should be used which kernel rendering, then the browser will be 360 ​​after reading the label, immediately switch corresponding kernel, and this behavior this applies to all URLs secondary domain name.

If a page to be the default with speed core, increasing the tag: <meta name = "renderer"  content = "webkit">
If a page to be used by default ie compatible kernel, add tags: <meta name = "renderer" content = "ie-comp"
If the default page to be used ie standard kernel, add tags: <meta name = "renderer"  content = "ie-stand">

Guess you like

Origin www.cnblogs.com/Tiboo/p/11605304.html