W3C home > Mailing lists > Public > public-evangelist@w3.org > December 2009

[request for modifications] QA Tips: "Don't forget to add a doctype"

From: Karl Dubost <karl+w3c@la-grange.net>
Date: Mon, 21 Dec 2009 06:54:27 -0500
Message-Id: <9C5854C2-4393-445E-B407-79176D84A402@la-grange.net>
Cc: "'public-evangelist@w3.org' w3. org" <public-evangelist@w3.org>
To: "Jacobs B. Ian" <ij@w3.org>
Evangelista Team,

in the QA Tips: [Don't forget to add a doctype][1], there are are some factual errors that would be good to fix. Here some suggestions for modifying the text:

	Tools which process HTML documents, such as Web browsers, 
	need to know which DTD an (X)HTML document is actually using: 
	this is why each (X)HTML document needs, at the beginning, a 
	DTD declaration, such as:

s/Tools/Some tools/
s/, such as Web browsers,/
s/needs/might need/

	Why specify a doctype? Because it defines which version of (X)HTML 
	your document is actually using, and this is a critical piece 
	of information needed by browsers or other tools processing the document.

s/browsers or other/some/

	(and hence discovers errors that may affect the way your page is rendered by various browsers).

s/(and hence discovers errors that may affect the way your page is rendered by various browsers)//

	But the most important thing is that with most families of browsers, 
	a doctype declaration will make a lot of guessing unnecessary, and 
	will thus trigger a "standard" parsing mode, where the understanding 
	(and, as a result, the display) of the document is not only faster, 
	it is also consistent and free of any bad surprise that documents 
	without doctype will create.

s/parsing mode,/rendering mode./
remove everying after mode.

[1]: http://www.w3.org/QA/Tips/Doctype


-- 
Karl Dubost
Montréal, QC, Canada
http://www.la-grange.net/karl/
Received on Monday, 21 December 2009 11:54:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:16:20 UTC