doc types! huh?

  • Thread starter some dude somewhere
  • Start date
S

some dude somewhere

There are a few sites around that show the different types of DOCTYPES for
html sites and stuff. But I don't seem to find anywhere which doctype to
choose when I made a html website.

Can anyone tell me or point me to something that tells me when I made a
website which code for the DOCTYPE to choose.

The difference between frameset and the other one is ... obvious but which
html version for example should I take.

I make my sites with DW4 by the way.

Eric
 
C

Cameron

some said:
There are a few sites around that show the different types of DOCTYPES for
html sites and stuff. But I don't seem to find anywhere which doctype to
choose when I made a html website.

Can anyone tell me or point me to something that tells me when I made a
website which code for the DOCTYPE to choose.

The difference between frameset and the other one is ... obvious but which
html version for example should I take.

I make my sites with DW4 by the way.

Eric

Uhm, you should choose which document type you are going to use before
you write the pages, and use the appropriate Document Type Definition
(DTD), so the one you want is dependent on what you have written your
page(s) in, HTML4, XHTML 1.0 etc...

~Cameron
 
H

Hywel Jenkins

ericthomas1967 said:
There are a few sites around that show the different types of DOCTYPES for
html sites and stuff. But I don't seem to find anywhere which doctype to
choose when I made a html website.

Can anyone tell me or point me to something that tells me when I made a
website which code for the DOCTYPE to choose.

The difference between frameset and the other one is ... obvious but which
html version for example should I take.

Pick one (probably best to start with a Transitional) and then fix your
site so that it validates against it.

I make my sites with DW4 by the way.

Well, you may have to do lots of fixing.
 
N

nice.guy.nige

While the city slept, some dude somewhere <[email protected]>
feverishly typed:

[doctypes]

As per the other answers received.
I make my sites with DW4 by the way.

If you pop over to the Macromedia website, you can download a DW extension
to automatically add doctypes. Very useful.

Hope that helps,
Nige

--
Nigel Moss.

Email address is not valid. (e-mail address removed). Take the dog out!
http://www.nigenet.org.uk | Boycott E$$O!! http://www.stopesso.com
In the land of the blind, the one-eyed man is very, very busy!
 
P

picayunish

Hywel said:
Well, you may have to do lots of fixing.

Not necessary, if you have DW in code view and coding by hand.
Then you don't have to fix the code alot, compared with FP. :-D
 
S

Sam Hughes

There are a few sites around that show the different types of DOCTYPES
for html sites and stuff. But I don't seem to find anywhere which
doctype to choose when I made a html website.

Can anyone tell me or point me to something that tells me when I made
a website which code for the DOCTYPE to choose.

The difference between frameset and the other one is ... obvious but
which html version for example should I take.

I make my sites with DW4 by the way.

A very useful (boring but useful) thing to do is take some time to read
various HTML specifications. Besides learning a lot in general, you'll
be able to answer your question. :) But you might not have the time or
wherewithall to do that right now, which makes sense because they are
long.

You will probably be choosing between HTML 4.01 Strict and HTML 4.01
Transitional, unless you are using XHTML. Documents which conform to the
HTML 4.01 Strict specifications follow a tighter set of rules than those
which conform to HTML 4.01 Transitional. If your web pages include some
"deprecated" elements such as FONT or other various presentational
attributes, you would want to use HTML 4.01 Transitional. The HTML 4.01
specification, available at <http://www.w3.org/TR/html4/>, tells which
attributes are deprecated and which aren't. There is also (somewhere out
there on the Internet) a nifty HTML reference sidebar for Mozilla which
does the same in a more concise fashion.

You can see whether your page conforms to the Strict or Transitional
specifications by putting one of the respective doctype declarations on
top of your documents and validating them at an HTML validator. The most
well-known one is <http://validator.w3.org/>, but I recommend
<http://www.htmlhelp.com/tools/validator/>, because the htmlhelp.com
version is less of a git about errors.

You could get further help and explanation on which doctype to choose by
supplying your site's URL to this newsgroup.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top