|
Posted by dorayme on 12/05/07 05:51
In article
<108d258d-37b8-45ef-b339-60b1c80dcd03@s36g2000prg.googlegroups.co
m>,
Chaddy2222 <spamlovermailbox-sicurity@yahoo.com.au> wrote:
> The thing I dislike about HTML dog is that the beginer tutorial does
> not use a doctype, and it should as it does not get people in to good
> habits by not useing one.
On the second page of the beginner tutorial is:
"The first line on the top that starts <!DOCTYPE... is to let the
browser know that you know what the hell you're doing. You may
think that you don't actually know what you're doing yet, but
it's important to stick this in. If you don't, browsers will
switch into "quirks mode" and act in a very peculiar way. Don't
worry about this just yet, you can learn more about "document
types" in the HTML Advanced Tutorial if you really want to. For
the moment, just remember to shove this line at the top of your
web pages and you're laughin'."
And the markup example has a doctype. Perhaps better to dislike
the fact that it uses XHTML 1.0 Strict rather than 4.01 Strict.
but this perhaps is a lesser crime?
--
dorayme
Navigation:
[Reply to this message]
|