doctype

doctype

 英

  • 網絡文檔類型;定義文檔類型;文檔類型聲明

例句

Remember, you can use any of the XHTML document types as long as you include the full ! DOCTYPE declaration.

記住只要包含全部!DOCTYPE聲明可以使用任何XHTML文檔類型

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語句

Some processors allow you to get around this problem by setting the doctype with a variable.

某些處理程序允許通過變量設置doctype繞過這個問題

DOCTYPE declaration is mandatory if the document is to be processed in a validating environment .

如果文檔驗證環境進行處理DOCTYPE聲明選項

DOCTYPE declarations can also include declarations directly, in what is referred to as the internal subset.

DOCTYPE聲明可以內部子集直接包含聲明

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 DOCTYPE is not used for validation purposes.

解析常規實體DOCTYPE用于驗證目的

The offline Web application specification does not dictate that you use this DOCTYPE; however, it is recommended that you do.

離線Web應用程序規范并不強制使用這個DOCTYPE但是建議這樣

I discuss DOCTYPE statements and data typing in the next section, Schema for validation.

模式驗證討論DOCTYPE語句數據類型化

The simplest DOCTYPE declaration identifies only the root element of the document.

簡單DOCTYPE聲明標識文檔元素

To enable validation, you include the document type (DOCTYPE) in your XML documents near the top.

為了實現驗證必須XML文檔頂部附近包含文檔類型DOCTYPE)。

Additionally , it is recommended that you add the DOCTYPE element to your migrated pages .

此外建議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命名空間聲明更改呈現方式

Gets the value of the system identifier on the DOCTYPE declaration.

獲取DOCTYPE聲明系統標識符

The following code example shows a DOCTYPE declaration that you might add to your page.

下面代碼示例演示一個添加頁面DOCTYPE聲明

This appends a DOCTYPE tag along with the SYSTEM and DTD information.

方法附加DOCTYPE標簽以及SYSTEMDTD信息

Writes the DOCTYPE declaration with the specified name and optional attributes.

寫出具有指定名稱可選屬性DOCTYPE聲明

Almost no one precedes their HTML documents with the SGML doctype command.

幾乎沒有他們文檔前面包含這個SGML文檔類型命令

Nonvalidating parsers will accept documents without DOCTYPE declarations.

驗證分析器接受沒有DOCTYPE聲明文檔

In this case, the Validator figured out what encoding and doctype your pages are, and then validated against them.

Validator判斷頁面屬于編碼doctype然后進行驗證

Gets the value of the public identifier on the DOCTYPE declaration.

獲取DOCTYPE聲明公共標識符

Lastly, the DOCTYPE entry allows us to refer to a particular DTD without using the formal public identifier or an actual filename.

最后DOCTYPE允許我們引用特殊DTD而不需要使用正式公共標識實際文件

Characters in the DOCTYPE public identifier or system identifier.

DOCTYPE公共標識符系統標識符字符

So if you've got a doctype that claims XHTML 1. 0 strict, and your page really is HTML 4. 01 transitional, the Validator will tell you that.

所以如果已經獲得聲稱XHTML1.0嚴格doctype頁面實際上HTML4.01過渡Validator將會告訴這些

You can create a wrapper XSLT shell that sets the proper doctype, and imports the migration.

創建一個包裝器XSLT外殼設置適當doctype導入遷移

You should notice that the transformation loses the DOCTYPE declaration and the comment in the original XML document.

應該注意到轉換沒有原來XML文檔DOCTYPE聲明注釋

When a strict doctype is not used, IE7 and IE8 will ignore : hover on any element other than anchors.

頁面沒有一個嚴格doctype,IE7IE8忽略除了鏈接任何元素hover

Note : The DOCTYPE declaration is not a part of the XHTML document itself. It is not an XHTML element, and it should not have a closing tag.

DOCTYPE聲明并不是XHTML文檔自身一部分屬于XHTML元素需要關閉標簽

If the migration is done with XSLT 1. 0, the doctype cannot be included in the output.

如果XSLT1.0進行遷移doctype不能包含輸出

Gets the node containing the DOCTYPE declaration.

獲取包含DOCTYPE聲明節點

When you get a response from the Validator, focus on the doctype (see Figure 6).

Validator獲得響應之后集中處理doctype參見6)。

As mentioned in the first article of this series, for any migration, determine how to add a DOCTYPE.

正如第一篇文章提到那樣任何遷移決定如何添加DOCTYPE

If a DOCTYPE declaration includes the entire DTD directly, without reference to external files, it uses the following syntax.

如果DOCTYPE聲明直接包含整個DTD而沒有引用外部文件使用以下語法

Looking back at Listing 1, the next thing you should notice is the DOCTYPE.

過頭一下清單1,接下來需要注意DOCTYPE

When a strict doctype is used, : hover on non-anchors may cause performance degradation.

頁面嚴格doctype鏈接元素hover導致性能下降

Prevents any doctype from appearing in the output.

防止輸出出現doctype

Visual designers, such as Visual Studio, generally include default page templates that include a DOCTYPE declaration.

可視設計器例如VisualStudio通常包括包含DOCTYPE聲明默認模板

Change your document to use the HTML 4. 01 Strict DOCTYPE, and then validate your document, fixing each error reported.

文檔改為采用HTML4.01StrictDOCTYPE,然后驗證文檔修改報告錯誤

The XHTML document is then set up by outputing the appropriate headers, the doctype, the HTML tag, and the title.

然后通過輸出適當報頭文檔類型HTML標記標題設置XHTML文檔

Or, they copied the DOCTYPE tag out of a book and don't know what it means.

或者他們DOCTYPE標簽出來并不知道意味什么