Printer Friendly Version
Email this thread to a friend
|
Featured Web Site Template |
|
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
stickyboy
Joined: Eons Ago
# Posts: 44
|
Posted: 2005-Oct-09 22:16
Went to validate my site using the W3C Markup Validation Service but it comes up with No DOCTYPE found! Attempting validation with HTML 4.01 Transitional.
I created this site in Dreamweaver 2 (a long time ago!) so how do I know what is the correct DOCTYPE?
|
 |
lizardz
Joined: Nov 12, 2004
# Posts: 1394
|
Posted: 2005-Oct-10 00:20
If you created it with dreamweaver 2, it's going to have too many errors to really use a doctype, but my guess is that HTML 3.02 or whatever would be the right one, maybe 4.01 transitional, hard to say without seeing the code. Probably 3.02 though.
Code like that probably isn't worth worrying about too much though, just look at it in Opera, IE 5x and 6, and Firefox, and if it displays ok, don't worry about it. Unless you want to learn how to create valid HTML, with CSS etc. But if it works ok, I'd leave it, unless you want to get into a full rewrite.
|
 |
g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10418
|
Posted: 2005-Oct-10 01:42
It probably writes HTML 3.2 which is not feature rich.
I would stick the HTML 4.01 Transitional DOCTYPE in and then manually edit the code to reduce the errors to zero, or near zero:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|