HTML<!doctype html public""> [英] HTML <!doctype html public "">
本文介绍了HTML<!doctype html public"">的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
其中一个新的doctype声明可以指定为:
One of the new doctype declarations can be specified as:
<!doctype html>
但最近我遇到了一个略有不同的观点(查看来源 http://html5boilerplate.com/ ):
But recently I came across one which was slightly different (view source on http://html5boilerplate.com/):
<!doctype html public "">
但我无法确定它是什么,公共部分?
But I couldn't figure what is it for, public part?
谢谢。
推荐答案
你错过了一个重要角色
<!doctype html public "✰">
引号内是一个星形字符。他们喜欢把它放在各处。它有效但没有任何用处:P
Inside the quotes is a star character. They like putting it everywhere. Its valid but not in any way useful :P
这篇关于HTML<!doctype html public"">的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文