Search Engine Optimization > Webmaster World > Dreamweaver DocType Error (help)
Dreamweaver DocType Error (help)
Posted by Kathy on February 22nd, 2004

Dear Webmasters,

I am designing my first web site in Dreamweaver (4). I ran it through a W3C
validation and rec'd the fatal error "No Doc Type." I've tried to figure
out by looking on the web what I should be adding to the beginning of the
source code but I am confused. I saw something about downloading a plug-in
and some mention of XML and that confused me further.
Please - any help for a novice?

And - any other suggestions, things I should be aware of with HTML generated
by Dreamweaver?

Thank you,
Kathy


Posted by Chet on February 22nd, 2004


"Kathy" <kathy_742XYZ@yahoo.com> wrote in message
news:ZJXZb.374370$xy6.1935215@attbi_s02...
| Dear Webmasters,
|
| I am designing my first web site in Dreamweaver (4). I ran it
through a W3C
| validation and rec'd the fatal error "No Doc Type." I've tried
to figure
| out by looking on the web what I should be adding to the
beginning of the
| source code but I am confused. I saw something about
downloading a plug-in
| and some mention of XML and that confused me further.
| Please - any help for a novice?
|
| And - any other suggestions, things I should be aware of with
HTML generated
| by Dreamweaver?
|
| Thank you,
| Kathy
|

You'll find a full list of the W3C's DocTypes here

http://www.w3.org/QA/2002/04/valid-dtd-list.html

Personally, with today's browsers, new pages should be able to
validate as HTML 4.01 Strict.

Unless you have a specific reason for doing so, I don't see any
reason to use XHTML. At the very least, your pages should
validate as HTML 4.01 Transitional.

Hopefully your not using frames.

hth
--
Chet
ng2.chet@NOcharterSPAM.net (remove NO.....SPAM)


Posted by Bill Logan on February 22nd, 2004


"Kathy" <kathy_742XYZ@yahoo.com> wrote in message
news:ZJXZb.374370$xy6.1935215@attbi_s02...

http://www.w3.org/TR/REC-html40/struct/global.html


<disclaimer>
None of the above is endorsed and is provided for informational purposes
only - use at your own risk
</disclaimer>

- - - - the lawyers made me do it!


--
bildanet
MyLot.net - the home of the $10 reseller programme



Posted by William Tasso on February 22nd, 2004

Kathy wrote:
There are others but this one is usually recommended for new documents:

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

red herrings - ignore them for the minute.

If I told you that you'd never want to use D/W again ;o)

Verbose markup is among its worst attributes.

--
William Tasso



Posted by Kathy on February 22nd, 2004

I am going to test the HTML4 Strict and, possibly the Transitional. My
problem is I just don't have the knowledge level - and these links to
explaining it are making my brain hurt! Meanwhile - I did find a different
site:
http://www.haroldbakker.com/extensions/doctype.php that may(?) also be
useful.

I think I understand about the Verbose problem in Dreamweaver. Do you
suggest any other programs? I have tried so hard to "keep it clean". I would
be curious to know your thoughts on the site thus far. It is at:
http://home.comcast.net/~km-design

Thanks again,
Kathy



Posted by Matt Probert on February 22nd, 2004

On Sun, 22 Feb 2004 06:11:05 GMT "Kathy" <kathy_742XYZ@yahoo.com>
broke off from drinking a cup of tea at Comcast Online to write:

I always say don't specify a doctype. A doctype is an instruction to
the browser to interpret the HTML according to one of many HTMLcommand
sets.

If you don't specify a doctype, then the browser is free to get on and
interpret the HTML as it wants. Otherwise you can find that you are
including HTML commands which are not contained within the specified
and restrictive doctype, and as such are ignored by the browser.

The reality is, the Internet is not standard. W3C publishes sets of
HTMl commands and IE and Netscape add their own interpretations and
commands, causing W3C to amend their own specifications, drop
commands, change names and god knows what. So long as it displays
okay, don't worry about it.

Matt

--
A massive matrix of concise, interlinked encyclopaedia information.
For when you just want to know, quickly and easily.
http://www.probertencyclopaedia.com

Posted by Gerry White - use my name at dergal dot come for email on February 22nd, 2004


"Kathy" <kathy_742XYZ@yahoo.com> wrote in message
news:H2ZZb.380206$na.569996@attbi_s04...
DW is one of the best tools out there, especially the latest version, but a
good knowledge of HTML / web technology is just important...

Doc types are important for future proofing, it means that the site will be
seen as it should be... most of the sites I have produced in the past have
not got doc types and I have to be honest, I am not worried about that...

The design is excellent, the notes I would make are that the two blues
(links in the top bar) are too close... could it be white or something that
contrasts with blue?

The other ones is that the text is just a little bit too small, whilst it
looks good, try one size up on all text!

Oh, also some of the pages are a bit long, could they be seperate pages
rather than really long pages...

Take a quick look at Jacob Nielsons website http://useit.com/ I disagree
with a lot he says, but long pages and pyramid writing style are two things
which are very important....

HTH's

Gerry



Posted by Makrobicz on February 22nd, 2004



"Matt Probert" <comments@probertencyclopaedia.com> wrote in message
news:403869d1.1674109@news.ntlworld.com...
er, just HTML ?

ergo, you are free to construct your own and take the guess work out.


No DTD = box model problem in IE6
with DTD = compliance mode = problem solved.


....and they, of course, are the only two browsers out there.
;o)
--
"He [Jimmy White] has popped out to the toilet to compose himself before the
final push."
(STEVE DAVIS, BBC2)

http://www.private-eye.co.uk



Funbolt.com - Entertainment portal, wallpapers, sexy celebs