Comments on: From the Top: Document Type Definitions http://www.thatstandardsguy.co.uk/blog/2006/01/09/all-in-the-head-document-type-definitions/ a web developer with standards Tue, 02 Jun 2009 10:31:50 +0000 http://wordpress.org/?v=2.7.1 hourly 1 By: CSS Mastery Book Review | That Standards Guy http://www.thatstandardsguy.co.uk/blog/2006/01/09/all-in-the-head-document-type-definitions/comment-page-1/#comment-85 CSS Mastery Book Review | That Standards Guy Wed, 22 Feb 2006 19:30:52 +0000 http://www.thatstandardsguy.co.uk/?p=42#comment-85 [...] The foundation chapter provides a clear and easy to understand introduction to meaningful markup techniques for CSS “hooks” — divs, spans, ids and classes as well as discussion on DOCTYPEs, browser modes and validation before diving in to CSS selector types, the cascade and specificity. The chapter finishes with discussion on how best to organise your stylesheets - no, don’t just lump it all together in a single file [...] [...] The foundation chapter provides a clear and easy to understand introduction to meaningful markup techniques for CSS “hooks” — divs, spans, ids and classes as well as discussion on DOCTYPEs, browser modes and validation before diving in to CSS selector types, the cascade and specificity. The chapter finishes with discussion on how best to organise your stylesheets - no, don’t just lump it all together in a single file [...]

]]>
By: Karl Dawson http://www.thatstandardsguy.co.uk/blog/2006/01/09/all-in-the-head-document-type-definitions/comment-page-1/#comment-66 Karl Dawson Mon, 30 Jan 2006 10:54:27 +0000 http://www.thatstandardsguy.co.uk/?p=42#comment-66 zcorpan: Thanks for clarifying the treatment of CDATA. I summed that up way too short - and badly as a result. Regards, Karl zcorpan: Thanks for clarifying the treatment of CDATA. I summed that up way too short - and badly as a result.

Regards, Karl

]]>
By: zcorpan http://www.thatstandardsguy.co.uk/blog/2006/01/09/all-in-the-head-document-type-definitions/comment-page-1/#comment-65 zcorpan Mon, 30 Jan 2006 10:45:13 +0000 http://www.thatstandardsguy.co.uk/?p=42#comment-65 <blockquote> CDATA — This is also Character Data but the text is not parsed by a parser. </blockquote> Really? What is it parsed by, then? Or is it not parsed at all? CDATA means that <code><</code> and <code>&</code> are to be parsed as character literals, not as a start of a tag or a general entity reference or a character reference. In SGML <code></</code> closes the element if it is declared as CDATA in the DTD.

CDATA — This is also Character Data but the text is not parsed by a parser.

Really? What is it parsed by, then? Or is it not parsed at all?

CDATA means that < and & are to be parsed as character literals, not as a start of a tag or a general entity reference or a character reference. In SGML </ closes the element if it is declared as CDATA in the DTD.

]]>
By: Karl Dawson http://www.thatstandardsguy.co.uk/blog/2006/01/09/all-in-the-head-document-type-definitions/comment-page-1/#comment-49 Karl Dawson Thu, 19 Jan 2006 21:42:08 +0000 http://www.thatstandardsguy.co.uk/?p=42#comment-49 Updated: Amendments as suggested by Richard Ishida (<abbr title="World Wide Web Consortium">W3C</abbr>) above. Regards, Karl Updated:

Amendments as suggested by Richard Ishida (W3C) above.

Regards, Karl

]]>
By: Richard Ishida http://www.thatstandardsguy.co.uk/blog/2006/01/09/all-in-the-head-document-type-definitions/comment-page-1/#comment-48 Richard Ishida Wed, 18 Jan 2006 09:14:13 +0000 http://www.thatstandardsguy.co.uk/?p=42#comment-48 Some quick thoughts: [1] "A Document Type Definition defines a set of declarations that conform to a particular markup syntax." Shouldn't that be 'a Document Type Definition provides a set of declarations that define a particular markup syntax'? [2] "It is important to add a DTD declaration to any HTML or XHTML document to establish that the document is an instance of the defined DTD. " maybe "establish that the document is a valid instance" [3] You may want to add http://www.w3.org/International/articles/serving-xhtml/ to your list of references. Some quick thoughts:

[1] "A Document Type Definition defines a set of declarations that conform to a particular markup syntax."

Shouldn't that be 'a Document Type Definition provides a set of declarations that define a particular markup syntax'?

[2] "It is important to add a DTD declaration to any HTML or XHTML document to establish that the document is an instance of the defined DTD. "

maybe "establish that the document is a valid instance"

[3] You may want to add http://www.w3.org/International/articles/serving-xhtml/ to your list of references.

]]>