JavaScript Reference/Javascript Properties/version
"version" Example
<html>
<body>
<script language="JavaScript">
var m = document.html.version;
alert(m);
</script>
</body>
</html>
"version" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<html> |
+----------------+--------------------------------------------------------------+
"version" Syntax and Note
Note:
Read and write property.
Specifies the DTD version for the current document.
Syntax:
document.html.version = value