version attribute | version property
Sets or retrieves the Document Type Definition (DTD) version that governs the current document.
the DTD version for the document.
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 7.3 (Deprecated)
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.