Renderer of meta, metarenderer
Today, I accidentally read the source code of the MOOC homepage and saw a line
1 <meta name="renderer" content="webkit|ie-comp|ie-stand">
Renderer, This is not familiar. Why is it used?
Google, this was originally prepared for a dual-core Browser:Specify the default page rendering method of the dual-core browser.
<Meta name = "renderer" content = "webkit"> // default webkit Kernel
<Meta name = "renderer" content = "ie-comp"> // default IE compatibility mode
<Meta name = "renderer" content = "ie-stand"> // default IE standard mode
The webkit | ie-comp | ie-stand method is similar to the font-family rule. Priority is exclusive in order. If it is not supported, go down, the browser selects its rendering kernel from left to right to process the current webpage.
Currently, the following browsers are supported: 360
Reference: Use meta tags to specify a dual-core browser to render Web pages using the IE browser kernel
Force the html to the speed mode, as shown in <meta name = "renderer" content = "webkit"> (this sentence is useless)
Users and products that do not work when they are difficult to use are not patient.
How to add webpage code so that all websites can be accessed in compatible mode?
Add a line of code to the head label:
<Html>
<Head>
<Meta name = "renderer" content = "webkit | ie-comp | ie-stand">
</Head>
<Body>
</Body>
</Html>
The value of content is webkit, ie-comp, or ie-stand, which is case sensitive. It indicates that the webkit kernel is used, the IE is compatible with the kernel, and the IE standard kernel is used.
If the page requires a high-speed core by default, add the tag: <meta name = "renderer" content = "webkit">
If the page requires ie compatibility with the kernel by default, add the tag: <meta name = "renderer" content = "ie-comp">
If the page uses the ie standard kernel by default, add the tag: <meta name = "renderer" content = "ie-stand">