Click to See Complete Forum and Search --> : Question of DTDs


Mr Initial Man
10-25-2004, 05:52 AM
I've asked a couple people this, but I'd like the forum's concesus.

Because of my layout, I've several pages coded in XHTML (the XML declaration sends IE into quirks mode, which means my CSS works) but I've a number of pages that need no such layout, and I've been thinking of leaving them in HTML 4.01.

So my question is this: Should I code everything with XHTML so the Doctypes the same throughout the website, or does it matter worth a north-bound skunk's south end?

ray326
10-25-2004, 04:01 PM
Since every page is a new day to a web browser there's no technical reason every page in a site couldn't be a different mark up type. Mixing things up can make it a little more difficult to maintain, though.

Mr Initial Man
10-25-2004, 08:44 PM
I was gonna use two:

XHTML 1.0 where I'm replacing frames, and HTML 4.01 Strict where I'm not.

MstrBob
10-25-2004, 09:04 PM
As I said, you're absolutely fine with it. Might make mainting a wee bit more confusing, but it will cause no issues. You're fine.

Robert Wellock
10-26-2004, 09:18 AM
It doesn't really matter (to the browser) as long as it's valid and only served as text/html.