What's a DOCTYPE?
Moderator: General Moderators
What's a DOCTYPE?
Why do I need a DOCTYPE or DTD? And most importantly what is it and what does it do?
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
I see.
What's quirks mode, examples?
And I think when you say "The green check mark is your friend" you mean validation?
EDIT: Also, what DOCTYPE should I use, you see I don't understand.
EDIT 2: More precisely, of which should I use: Strict, Transitional or Frameset?
What's quirks mode, examples?
And I think when you say "The green check mark is your friend" you mean validation?
EDIT: Also, what DOCTYPE should I use, you see I don't understand.
EDIT 2: More precisely, of which should I use: Strict, Transitional or Frameset?
Last edited by JellyFish on Fri Mar 30, 2007 5:16 pm, edited 2 times in total.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
http://www.w3.org/QA/Tips/DoctypeJellyFish wrote:Could maybe someone gives some examples on what the benefit in having a DTD would be? Maybe that'll clear some confusion.
As of right now, I don't see the purpose for me having one. It doesn't appear to do anything.
http://www.w3.org/QA/2002/04/valid-dtd-list.html
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
I tried Strict and maybe it was to strict for me. I tried Transitional and it went fine. What's Frameset stand for? Is there somewhere that tells me what Strict, Transitional and Frameset all allow and don't allow? Then maybe I could Choose which is best for me.
BTW every since I got a DTD my page appears the same on all browsers! Except a submit button's width was ridiculously wide and had to set a fixed width to the darn thing. What's up with that?
BTW every since I got a DTD my page appears the same on all browsers! Except a submit button's width was ridiculously wide and had to set a fixed width to the darn thing. What's up with that?
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA