| General Databases (71) Linux (42) Outside the Cube (2086) Programming (730) Web publishing (118) about DelphiFAQ (12) JavaScript (55) perl CGI (3) VBScript (1) Web Hosting (8) Windows (355) |
What is this DOCTYPE good for?
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:
Comments:
|