HTML and CSS Reference
In-Depth Information
3.6.1.3. The version attribute
Use the version attribute to define the HTML standard version that you
followed when composing the document. Its value, for HTML version
4.01, should read exactly:
version="-//W3C//DTD HTML 4.01//EN"
In general, version information within the <html> tag is more trouble
than it is worth, and this attribute has been deprecated in HTML 4. Seri-
ous authors should instead use an SGML <!DOCTYPE> tag at the beginning
of their documents, like this:
<!DOCTYPE HTML PUBLIC "-//W3C/DTD HTML 4.01//EN"
"http://www.w3c.org/TR/html4/strict.dtd">
 
Search WWH ::




Custom Search