Forum Moderators: mack

Message Too Old, No Replies

How can I improve my sites.

Assistance required.

         

dialectic

7:57 am on Aug 10, 2004 (gmt 0)

10+ Year Member



how do i fix the encoding and doctype and how to get it validate?

[edited by: mack at 2:06 pm (utc) on Aug. 10, 2004]
[edit reason] Remove specifics. [/edit]

shinyblue

9:24 am on Aug 10, 2004 (gmt 0)

10+ Year Member



welcome to WW!

your website reference will probably be deleted by the mods - specifics violate the TOS. It's best to copy and paste the offending code and what error message you are getting from it.

dialectic

9:51 am on Aug 10, 2004 (gmt 0)

10+ Year Member



actaully i just want to get my cite validated but iam not sure what encoding and doctype i should specifiy

i used this doc type
<!Doctype HTML Public "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">

i think i encoded ansi? but didnt put it on my pages
says at the botom of textpad ANSI

encyclo

10:10 am on Aug 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, dialectic.

For the doctype, I would recommend this:

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

That points to HTML 4.01 rather than HTML 4.0 - so it's the latest version.

For the character encoding, you don't mention which language your site is written in. If it's English or another west-European language, try adding:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

in between the

<head>
and
</head>
tags, which will give you ISO-8859-1, a standard character encoding for such documents.