This is a discussion on "which doctype??" within the Web Page Design section. This forum, and the thread "which doctype?? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
which doctype??
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
which doctype??
whats in doctypes? I've seen many recommend strict doctype but I'm sure I don't know what they do.
|
|
|
|
#2
|
||||
|
||||
|
Re: which doctype??
Check out this A List Apart article on doctypes. It's a very good read and explains why and which doctypes to use.
In a sentence, doctypes are essential to good practice, standards compliant, cross-browser consistent web design.
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
|
|
#3
|
|||
|
|||
|
Re: which doctype??
Thats a really good link aso, i remember reading this article a while back when i didnt understand doctypes very well. Im a 'strict' guy myself, whats everyone elses preferences?
|
|
#4
|
||||
|
||||
|
Re: which doctype??
As well ask telling the browser how to render your page etc, having s strict doctype is a good thing to have when designing if you can get your code to validate to strict
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
|
|
#5
|
|||
|
|||
|
Re: which doctype??
Have a look here, it's an article from our Resident Writer on the WebForumz Creative Coding Newsletter.
Ed.
Last Blog Entry: Happy New Year! (Dec 31st, 2007)
|
|
#6
|
|||
|
|||
|
Re: which doctype??
Nice article Ed, thanks
|
|
#7
|
|||
|
|||
|
Re: which doctype??
A List Apart also just came out with Beyond DOCTYPE: Web Standards, Forward Compatibility, and IE8. I just downloaded the MSIE 8 beta for my XP machine.
|
|
#8
|
|||
|
|||
|
Re: which doctype??
IE 8 is not even close to ready, I would't touch it let alone support it till a candidate release. It works but its quirky and is missing some support. Just an FYI it broke my stand alones and such causing IE 6 to render as IE 8 etc... Not saying this WILL happen but it has happened.
So just be careful with IE 8 at this time and prepare to roll back XP.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#9
|
||||
|
||||
|
Re: which doctype??
I've heard extremely knowledgeable people say not to bother with XHTML at all, at this point, unless you have a definite reason to do so. HTML 4.01 Strict is quite good for a garden-variety webpage and is well-supported.
I always do XHTML 1.0 Strict mainly because it's fun and keeps me in touch with XML a bit, and because it's easy enough once you get through the adjustment. There's also a smidgin of prestige value. But it would be pretty far down on my list of recommended time/energy investments right now. |
|
#10
|
|||
|
|||
|
Re: which doctype??
I'm currently learning xhtml strict. Is this the best way to go?
|
|
#11
|
|||
|
|||
|
Re: which doctype??
Strict is the way to go.
XHTML or HTML? It doesn't matter much. I don't like using XHTML because the browser will receive it as invalid HTML (assuming you serve it with a MIME type of text/html, which is what almost everyone does). The real reason to use XHTML is if you need to work with XML, or want to use markup modules such as MathML. In terms of "learning" XHTML, there's really nothing to learn. Its markup is almost identical to HTML. |
|
#12
|
|||
|
|||
|
Re: which doctype??
XHTML is much more streamlined. Its leaner and meaner code, and yes it gives you the option for xml etc...
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using a valid Doctype | Wesley | Web Page Design | 46 | Jan 16th, 2008 17:02 |
| [SOLVED] Doctype | mcdanielnc89 | Web Page Design | 3 | Oct 20th, 2007 23:00 |
| which doctype? | aflacduck | Starting Out | 19 | Jun 17th, 2007 19:34 |
| Doctype or no Doctype | notagz1 | Website Planning | 6 | Jun 16th, 2007 01:11 |
| Doctype | ahm531 | Web Page Design | 2 | Sep 6th, 2006 07:55 |