On Wed, Aug 1, 2012 at 1:57 PM, Tedd Sperling <t...@sperling.com> wrote:
> Unfortunately/fortunately there are many choices, for example:
>
> http://www.w3.org/QA/2002/04/valid-dtd-list.html
>
> What is a novice to do? Can the choice be simple?
>
> What is wrong with using?
>
> <!DOCTYPE html>

Nothing. Use that. And, actually the uppercase DOCTYPE is important as
I've run into problems with the lowercase version in some browsers.

DTDs are antiquated schema validation technique used primarily for
XML. I don't think any browser actually uses DTDs internally on
documents, as very few successfully validate, and browsers are written
to do the best they can with invalid documents. Their only practical
utility is with validation tools that a web author might want to use,
to make sure they don't have missing tags, etc. Even then, more often
than not these kinds of errors are easy to see when iterating over a
design, so even then it's not really necessary or particularly useful.
This is why HTML5 eschews DTDs.
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to