version property

Sets or retrieves the Document Type Definition (DTD) version that governs the current document.



HRESULT value = object.put_version( v);HRESULT value = object.get_version(* p);

Property values

Type: BSTR

the DTD version for the document.

Standards information


There is no functionality implemented for this property unless defined by the author.

IHTMLHtmlElement::version was introduced in Microsoft Internet Explorer 6

The IHTMLHtmlElement::version property is deprecated in HTML 4.0 because it is redundant with version information provided in the document type declaration.