Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > doc types! huh?

Reply
Thread Tools

doc types! huh?

 
 
some dude somewhere
Guest
Posts: n/a
 
      01-03-2004
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


 
Reply With Quote
 
 
 
 
Cameron
Guest
Posts: n/a
 
      01-03-2004
some dude somewhere wrote:

> 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

 
Reply With Quote
 
 
 
 
Hywel Jenkins
Guest
Posts: n/a
 
      01-03-2004
In article <CFyJb.150696$>, ericthomas1967
@hotmail.com says...
> 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.

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
 
Reply With Quote
 
nice.guy.nige
Guest
Posts: n/a
 
      01-03-2004
While the city slept, some dude somewhere <>
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. . 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!


 
Reply With Quote
 
picayunish
Guest
Posts: n/a
 
      01-03-2004
Hywel Jenkins wrote:
> In article <CFyJb.150696$>, says...
>>
>>I make my sites with DW4 by the way.

>
> 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.
--
Edwin van der Vaart
http://www.semi-conductor.nl/ Links to Semiconductors sites
http://www.evandervaart.nl/ Under construction

 
Reply With Quote
 
brucie
Guest
Posts: n/a
 
      01-03-2004
in post <news:CFyJb.150696$ >
some dude somewhere 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.


http://www.w3.org/TR/html401/struct/global.html#h-7.2


--
brucie
03/January/2004 11:12:53 pm kilo
 
Reply With Quote
 
Sam Hughes
Guest
Posts: n/a
 
      01-03-2004
"some dude somewhere" <> wrote in
news:CFyJb.150696$:

> 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can pydoc display doc for local funcs? or other doc tools for owncode News123 Python 0 02-06-2010 12:31 AM
.pdf doc to word doc PWB Computer Support 14 09-19-2008 10:41 PM
String[] files = {"a.doc, b.doc"}; VERSUS String[] files = new String[] {"a.doc, b.doc"}; Matt Java 3 09-17-2004 10:28 PM
Converting a org.jdom DOC to org.w3c DOC Praveen Chhangani XML 2 08-07-2003 08:22 AM
Parsing MS Word client doc into server-side doc... John Wallace ASP .Net 0 07-22-2003 06:49 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57