1. Common (excerpted from Baidu)
1.
Set encoding information
Set language
Set up redirect
Set cache time
No caching
Set keywords
Set description information
Set up search engine crawling
Set the visual area
2. Browser usage:
2. tabindex attribute (excerpted from W3C):
1. Function: Specify the tab key control order of elements;
2. Tags that support this attribute:
3. Example:
<span style="color: #0000ff;"><!</span><span style="color: #ff00ff;">DOCTYPE html</span><span style="color: #0000ff;">></span> <span style="color: #0000ff;"><</span><span style="color: #800000;">html</span><span style="color: #0000ff;">></span> <span style="color: #0000ff;"><</span><span style="color: #800000;">body</span><span style="color: #0000ff;">></span> <span style="color: #0000ff;"><</span><span style="color: #800000;">a </span><span style="color: #ff0000;">href</span><span style="color: #0000ff;">="http://www.w3school.com.cn/"</span><span style="color: #ff0000;"> tabindex</span><span style="color: #0000ff;">="2"</span><span style="color: #0000ff;">></span>W3School<span style="color: #0000ff;"></</span><span style="color: #800000;">a</span><span style="color: #0000ff;">><</span><span style="color: #800000;">br </span><span style="color: #0000ff;">/></span> <span style="color: #0000ff;"><</span><span style="color: #800000;">a </span><span style="color: #ff0000;">href</span><span style="color: #0000ff;">="http://www.google.com/"</span><span style="color: #ff0000;"> tabindex</span><span style="color: #0000ff;">="1"</span><span style="color: #0000ff;">></span>Google<span style="color: #0000ff;"></</span><span style="color: #800000;">a</span><span style="color: #0000ff;">><</span><span style="color: #800000;">br </span><span style="color: #0000ff;">/></span> <span style="color: #0000ff;"><</span><span style="color: #800000;">a </span><span style="color: #ff0000;">href</span><span style="color: #0000ff;">="http://www.microsoft.com/"</span><span style="color: #ff0000;"> tabindex</span><span style="color: #0000ff;">="3"</span><span style="color: #0000ff;">></span>Microsoft<span style="color: #0000ff;"></</span><span style="color: #800000;">a</span><span style="color: #0000ff;">></span> <span style="color: #0000ff;"><</span><span style="color: #800000;">p</span><span style="color: #0000ff;">><</span><span style="color: #800000;">b</span><span style="color: #0000ff;">></span>注释:<span style="color: #0000ff;"></</span><span style="color: #800000;">b</span><span style="color: #0000ff;">></span>请尝试使用键盘上的 "Tab" 键在链接之间进行导航。<span style="color: #0000ff;"></</span><span style="color: #800000;">p</span><span style="color: #0000ff;">></span> <span style="color: #0000ff;"></</span><span style="color: #800000;">body</span><span style="color: #0000ff;">></span> <span style="color: #0000ff;"></</span><span style="color: #800000;">html</span><span style="color: #0000ff;">></span>
3.
The value of content is one of webkit, ie-comp, or ie-stand, which is case-sensitive. They respectively represent the use of webkit kernel, IE compatible kernel, and IE standard kernel.
If the page needs to use the ultra-fast kernel by default, add the tag:
If the page needs to use the IE-compatible kernel by default, add the tag:
If the page needs to use the ie standard kernel by default, add the tag:
Each rendering kernel Technical details
Kernel | Webkit | IE compatible | IE Standard |
---|---|---|---|
Document Mode | Chrome 21 | IE6/7 | IE9/IE10/IE11 (depending on user’s IE) |
HTML5 support | YES | NO | YES |
ActiveX control support | NO | YES | YES |