中文字幕一区二区人妻电影,亚洲av无码一区二区乱子伦as ,亚洲精品无码永久在线观看,亚洲成aⅴ人片久青草影院按摩,亚洲黑人巨大videos

XML DOM doctype 屬性


Document 對象參考手冊 Document 對象

定義和用法

doctype 屬性返回與文檔相關(guān)的文檔類型聲明(DTD,全稱 Document Type Declaration)。

對于沒有 DTD 的 XML 文檔,則返回 null。

該屬性提供對 DocumentType 對象(Document 的一個子節(jié)點(diǎn))的直接訪問。

語法

documentObject.doctype

實(shí)例

實(shí)例

xmlDoc=loadXMLDoc("note_internal_dtd.xml");
document.write(xmlDoc.doctype);

輸出:

[object DocumentType]

運(yùn)行代碼 ?

Document 對象參考手冊 Document 對象其他擴(kuò)展