Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
version (HtmlElement)

version attribute | version property

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



HTML<element version="p" ... >

p = object.version


Property values

Type: String

the DTD version for the document.

Standards information


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

version was introduced in Microsoft Internet Explorer 6

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

See also




© 2015 Microsoft