大佬教程收集整理的这篇文章主要介绍了HTML – 现代网站上包含哪些元标记?,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
<meta charset="utf-8">
不需要http-equiv,因为它表示http头等效.但是对于Web,通过Web服务器(可能是apachE)提供的Content-Type http头应该这样做.您可以通过.htaccess或使用php header()函数覆盖服务器默认值.
包含也不是一个坏主意
<meta name="description" content=""> <meta name="author" content="">
Paul Irish的html5锅炉板也建议使用:
<!-- Always force latest IE rendering ENGIne (even in intranet) this if you use the .htaccess --> <meta http-equiv="X-UA-Compatible" content="IE=edge">
http://html5boilerplate.com/docs/#The-markup★make-sure-the-latest-version-of-ie-is-used
<!-- Mobile viewport optimized: j.mp/bplateviewport --> <meta name="viewport" content="width=device-width,initial-scale=1.0">
http://html5boilerplate.com/docs/#The-markup★mobile-viewport–creating-a-mobile-version
以上是大佬教程为你收集整理的HTML – 现代网站上包含哪些元标记?全部内容,希望文章能够帮你解决HTML – 现代网站上包含哪些元标记?所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。