This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2006 > Doc Type?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Doc Type?
Karl

2006-02-28, 6:19 pm


Dreamweaver v8.0 can create new HTML documents with one of 5 DOCTYPEs.

HTML v4.0 transitional and strict

and

XHTML 1.0 transitional and strict

XHTML 1.1

While I've read some about DOCTYPE, I can't find anything that gives me
a listing of the advantages/disadvantages of one over the other. Can
anyone give me a summary or point to one?

TIA

(I'm interested in supporting IE v5.0 and above, Netscape v6.0 and above
and FireFox v1.0 and above. My pages are HTML with Javascript and CSS.
There are a few static images too.)
twocans

2006-02-28, 6:19 pm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">


is what I aways have used , it suits allI do.

regards

kenny





"Karl" <kthompson@nospam.pine-grove.com> wrote in message
news:du1m9q$ij6$1@forums.macromedia.com...
>
> Dreamweaver v8.0 can create new HTML documents with one of 5 DOCTYPEs.
>
> HTML v4.0 transitional and strict
>
> and
>
> XHTML 1.0 transitional and strict
>
> XHTML 1.1
>
> While I've read some about DOCTYPE, I can't find anything that gives me a
> listing of the advantages/disadvantages of one over the other. Can anyone
> give me a summary or point to one?
>
> TIA
>
> (I'm interested in supporting IE v5.0 and above, Netscape v6.0 and above
> and FireFox v1.0 and above. My pages are HTML with Javascript and CSS.
> There are a few static images too.)



Karl

2006-02-28, 6:19 pm


Thanks, but it doesn't really answer the question, does it?

twocans wrote:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
>
>
> is what I aways have used , it suits allI do.
>
> regards
>
> kenny
>
>
>
>
>
> "Karl" <kthompson@nospam.pine-grove.com> wrote in message
> news:du1m9q$ij6$1@forums.macromedia.com...
>
>
>
>

David Powers

2006-02-28, 6:19 pm

Karl wrote:
> While I've read some about DOCTYPE, I can't find anything that gives me
> a listing of the advantages/disadvantages of one over the other. Can
> anyone give me a summary or point to one?


There aren't any advantages or disadvantages. They are simply different
standards.

Having said that, XHTML 1.1 should be used only if you are serving pages
as application/xhtml+xml. Since Internet Explorer doesn't support this,
you should stay away from XHTML 1.1.

XHTML 1.0 is HTML 4.01 rewritten to conform to XML standards, which are
much stricter than HTML. You can find a brief description here:

http://www.w3.org/TR/xhtml1/#xhtml

If it all seems like Greek (or geek) to you, just stick with HTML 4.01
Transitional.

I suspect this thread will generate the usual amount of ranting and hot
air about the "superiority" of one standard over another. Ignore most of
it. The important thing is to understand HTML and CSS, and to write
good, clean code. 99% of the time, Dreamweaver does that for you.

--
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/
kieran_briggs

2006-02-28, 6:19 pm

Check this page out for some good information about what doctypes are and the usefullness of choosing the correct one

http://www.alistapart.com/articles/doctype/
Murray *ACE*

2006-02-28, 6:20 pm

No rants here.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"David Powers" <david@example.com> wrote in message news:du1ncq$jvr$1@forums.macromedia.com...
> Karl wrote:
>
> There aren't any advantages or disadvantages. They are simply different
> standards.
>
> Having said that, XHTML 1.1 should be used only if you are serving pages
> as application/xhtml+xml. Since Internet Explorer doesn't support this,
> you should stay away from XHTML 1.1.
>
> XHTML 1.0 is HTML 4.01 rewritten to conform to XML standards, which are
> much stricter than HTML. You can find a brief description here:
>
> http://www.w3.org/TR/xhtml1/#xhtml
>
> If it all seems like Greek (or geek) to you, just stick with HTML 4.01
> Transitional.
>
> I suspect this thread will generate the usual amount of ranting and hot
> air about the "superiority" of one standard over another. Ignore most of
> it. The important thing is to understand HTML and CSS, and to write
> good, clean code. 99% of the time, Dreamweaver does that for you.
>
> --
> David Powers
> Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
> Author, "Foundation PHP 5 for Flash" (friends of ED)
> http://foundationphp.com/

Gary White

2006-02-28, 6:20 pm

On Tue, 28 Feb 2006 09:39:36 -0500, Karl
<kthompson@nospam.pine-grove.com> wrote:

>Thanks, but it doesn't really answer the question, does it?


Perhaps this will help:
http://www.ericmeyeroncss.com/bonus/render-mode.html

Gary
John Waller

2006-02-28, 6:21 pm

I thought of this link too but it doesn't really address why or when to use
the different DOCTYPEs. That part seems to be assumed.

Just says to use a DOCTYPE and get the syntax right.

--
Regards

John Waller


Gary White

2006-02-28, 10:15 pm

On Wed, 1 Mar 2006 06:42:07 +1030, "John Waller"
<johnw@REMOVETHISpinnacleweb.com.au> wrote:

>I thought of this link too but it doesn't really address why or when to use
>the different DOCTYPEs. That part seems to be assumed.



The link I posted does.

Gary
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews