HTML CSS Reference/HTML Attributes Reference/version

Материал из Web эксперт
Перейти к: навигация, поиск

"version" Example

    
<html version="4.0">
<!doctype html public "-//w3c//dtd html 4.0//en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
</body>
<html>



version is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<html>                                                        |
+----------------+--------------------------------------------------------------+



"version" Syntax and Note

Note:
    
This attribute indicates the version of HTML.
    
Syntax:
    
<html version="value"> . . . </html>