DOCTYPE
- 网络文档类型;类型定义
-
Defines the body system doctype .
定义主体系统文档类型。
-
The root element name must match the DOCTYPE name .
根目(rootelement)名必符合doctype名。
-
Any new or unknown doctype triggers strict mode .
任何新的或未知的DOCTYPE将触发严格模式。
-
The DOCTYPE declaration should always be the first line in an XHTML document .
文档声明必须出现在XHTML文档的首行。
-
Bring your doctype in line with your page
让doctype与页面一致
-
This appends a DOCTYPE tag along with the SYSTEM and DTD information .
这方法将附加DOCTYPE标签以及SYSTEM和DTD信息。
-
The other thing to note here is the DOCTYPE for the page .
这里需要注意的另一点是该页面的DOCTYPE。
-
I discuss DOCTYPE statements and data typing in the next section , Schema for validation .
下一节模式验证中讨论DOCTYPE语句和数据类型化。
-
As mentioned in the first article of this series , for any migration , determine how to add a DOCTYPE .
正如第一篇文章所提到的那样,任何迁移都要决定如何添加DOCTYPE。
-
To enable validation , you include the document type ( DOCTYPE ) in your XML documents near the top .
为了实现验证,必须在XML文档的顶部附近包含文档类型(DOCTYPE)。
-
The offline Web application specification does not dictate that you use this DOCTYPE ; however , it is recommended that you do .
离线Web应用程序规范并不强制您使用这个DOCTYPE;但是,建议您这样做。
-
Many browsers will also change their rendering based on the presence or absence of the DOCTYPE declaration and an XML namespace declaration .
许多浏览器也会根据是否存在doctype声明和xml命名空间声明来更改其呈现方式。
-
It 's not very likely that you can change the message schema of their service requests and ask them to put in a DOCTYPE statement .
您不太可能改变他们服务需求的消息模式,并让他们放入DOCTYPE语句。
-
The < html > tag contains all the other HTML elements , excluding the < ! doctype > tag .
标记包含除<!doctype>以外的所有其他HTML元素。
-
Doctype = & includePropertySheets = true by supplying a document Atom entry with custom field values in the body of the request .
doctype=&includePropertySheets=true发送一个POST请求,方式是在请求体中提供带有定制字段值的文档Atom条目。
-
The Validator actually does its best to detect what your page is , even if that doesn 't match an existing doctype in your page .
Validator实际上能够最大限度地检测出您的页面是什么,即使结果可能与此页面内的现有doctype不匹配。
-
Applications that rely on the file itself to reference the schema ( through a DOCTYPE statement or through a schemaLocation attribute ) are at risk .
依赖于文件本身来引用模式(通过DOCTYPE语句或schemaLocation属性)的应用程序有一定风险。
-
In this case , the Validator figured out what encoding and doctype your pages are , and then validated against them .
在本例中,Validator判断出您的页面属于哪种编码和doctype,然后对其进行验证。
-
This has many examples in the wild , such as HTML DOCTYPE , some uses of XMLNS , a version identifier inside your PDF document .
这样的例子有很多,如HTMLDOCTYPE,XMLNS的某些使用或PDF文档中的某个版本标识。
-
Declaring named entities in an XML document 's DOCTYPE declaration is straightforward , and using them in the document body is something you probably already know how to do .
在XML文档的DOCTYPE声明中声明命名实体很简单,而且您可能已经知道如何在文档主体中使用它们。
-
An XML file that is identified by an external entity can only contain a document fragment : It cannot contain a DOCTYPE declaration or a stand-alone XML declaration .
由外部实体标识的XML文件仅能包含文档片段:它不能包含DOCTYPE声名或独立的XML声明。
-
A mortal web designer who attaches a DOCTYPE tag to their web page saying ," this is standard HTML ," is committing an act of hubris .
一个web设计者挂了一个DOCTYPE标签到他的网页上,说,“这是标准的HTML”,这是一种很傲慢的举止。
-
Rather than trying to match an arbitrary doctype ( perhaps entered in by an overzealous Web designer ?), go with what the Validator suspects your page is .
只需采用Validator猜想的结果,而不要试图与任意的doctype相匹配(也许是一个过分热心的Web设计者输入的?)
-
Note that your page does not have to validate according to the chosen doctype , the mere presence of the doctype tag is enough to trigger strict mode .
注意:你的网页并不一定要依据所选择的DOCTYPE去获得有效性验证,一个DOCTYPE标签足以触发严格模式。
-
When phone book entries are displayed , before the loop begins , the script sends the XML and DOCTYPE information , followed by the opening of the root element and element .
当电话簿条目被显示时,在循环开始之前,脚本发送XML和DOCTYPE信息,然后是根元素和元素的开始标记。
-
You can re-run the Validator , and you shouldn 't notice a difference , unless you chose a doctype that didn 't match what the Validator thought your page was aimed at .
您可以重新运行Validator,您应该不会注意到差别,除非您选择的doctype与Validator认为的您的页面目标不同。