Outside the Cube (8828)
Web publishing (65)
about DelphiFAQ (14)
perl CGI (3)
Web Hosting (8)
What is this DOCTYPE good for?
This article has not been rated yet. After reading, feel free to leave comments and rate it.
Question:What is the purpose of the <!DOCTYPE ..> tag in HTML pages and what should I put in there?
Answer:The <!DOCTYPE ..> tag is a special declaration in the very first line of your webpage, it comes even before the <HTML> tag. This tag informs a validator tool what rules to use when it has to validate your page. Newer browsers (IE 6+, Mozilla, NS6+, Opera, IE 5+ on Mac) use this setting to determine whether to display your page in 'Quirks' or 'Standards' mode.
Visit this web site to try an online validator: