Are DOCTYPE statements case sensitive?
I cant remember where, but I'm sure I read that case *does* matter...
eg.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd>
....will work [ie trigger 'Standards mode'], but...
<!doctype html public "-//w3c//dtd html 4.01//en"
"http://www.w3.org/tr/html4/strict.dtd>
...won't.
Cheers
Chris
I cant remember where, but I'm sure I read that case *does* matter...
eg.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd>
....will work [ie trigger 'Standards mode'], but...
<!doctype html public "-//w3c//dtd html 4.01//en"
"http://www.w3.org/tr/html4/strict.dtd>
...won't.
Cheers
Chris
Comment