Renderer of meta, metarenderer

Source: Internet
Author: User

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">

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.