[EMAIL PROTECTED] wrote:

OK, Consider this very simple HTML document:
...
How could leaving out the doctype make such a definite difference to such a simple page?

The crucial part of my answer was: "If you know for sure that the markup *is going to be invalid*"


The example you provide is of valid markup. I tried corrupting the code, but interestingly, on Firefox and Opera, even when the markup is blatantly broken, the doctype keeps the browser in standards mode (or almost-standards mode, as the case may be). Interesting...seems the wrong behaviour to me, but still interesting...

You learn something odd/new every day :)

Patrick
_____________________________________________________
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to