Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

doctype property

Gets an object that represents the document type declaration that is associated with the current document.

Syntax

HRESULT value = object.get_doctype(IHTMLDOMNode** p);

Property values

Type: Object

the document type declaration.

Standards information

Remarks

For HTML documents, the IHTMLDocument5::doctype property returns NULL, as defined by the World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 standard.

Windows Internet Explorer 9. The methods and properties of IHTMLDocument5::doctype object are supported only for webpages that are displayed in IE9 Standards mode. In other document compatibility modes and earlier versions of Windows Internet Explorer, the IHTMLDocument5::doctype object is NULL for HTML documents.

IHTMLDocument5::doctype was introduced in Microsoft Internet Explorer 6.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.