meta tag is a page meta tags. You can define some of the features of the site.
1. name attribute
Common name attribute format is as follows:
<meta name="xxx" content="xxxx,xxxx">
Common values are the following:
1. viewport
Windows define adaptive browser window size
<meta name="viewport" content="width: device-width,initial-scale=1.0">
2. keywords
Specifies the current page keywords for search engines
<meta name="keywords" content="js,html">
3. description
The main contents of the current page tells search engine, firefox is used as described in the label.
<meta name="description" content="this is a websit">
4. author
Indicate the author
<meta name="author" content="lyralee">
2. http-equiv attribute
The property can change some behavior of the server and js engine. General form:
<meta http-equiv="xxx" content="xxx">
1. refresh
Automatic refresh the page. content is the content of the refresh time interval (s) of
<meta http-equiv="refresh" content="1">
2. X-UA-Compatible
IE8 appears for IE8 + effective. Designated IE8 + browser rendering mode.
General Mode:
<meta http-equiv="xxxxx" content="ie=XXXX,xxx">
Common value types:
1. IE8 + IE corresponding to the highest version of the rendering engine to render page
<meta http-equiv="X-UA-Compatible" content="ie=edge">
2. The use IE8 + IE8 rendering engine to render the page
<meta http-equiv="X-UA-Compatible" content="ie=8">
3. The use IE8 + IE7 rendering engine to render the page
<meta http-equiv="X-UA-Compatible" content="ie=7">
4. render ChromeFrame for embedded browser, use chrome rendering engine
<meta http-equiv="X-UA-Compatible" content="ie=Edge,chrome=1">