JavaScript Reference/Javascript Properties/version
Версия от 18:30, 25 мая 2010; (обсуждение)
"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