HTML CSS Reference/HTML Attributes Reference/version

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

"version" Example

   <source lang="html4strict">
   

<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>


     </source>
   
  


version is applied to

   <source lang="html4strict">

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

     </source>
   
  


"version" Syntax and Note

   <source lang="html4strict">

Note:

This attribute indicates the version of HTML.

Syntax:

<html version="value"> . . . </html>


     </source>