主页中元标记的用途是什么 [英] what is the purpose of meta tags in master pages

查看:76
本文介绍了主页中元标记的用途是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下两个标签的用途是什么?



What is the use of below two tags?

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

<meta content="text/html; charset=utf-8" http-equiv="Content-Type">









使用





using

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

getting compatibility issues in IE11

Please explain the use of these tags?


Thanks Advance
Krishna..

推荐答案

1.第一个元如果您必须管理为旧IE版本设计的旧应用程序(或旧网页),并且您希望在新版本的IE浏览器中呈现您的网页而不会出现问题,则必须使用标记。



2.第二个元标记指定将在您的Web应用程序中使用的字符编码。例如,在使用国际化(德语,法语等)的情况下需要此标记,并且您希望特殊字符能够正确呈现所使用的语言。
1.The first meta tag is necessary in the case that you have to manage an old application (or old web pages), designed for old IE verssion and you want that your web pages to be rendered without problems in new versions of IE browser.

2.The 2nd meta tag specifies the character encoding that will be used in your web application. This tag is needed for example in the case of using of internationalization (German, French, etc.) and you want that the special characters form the used languages to be rendered correctly.


这篇关于主页中元标记的用途是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆