Reply to Re: Someone please help! WC3 Validation problems

Your name:

Reply:


Posted by Jeremy Brown on 06/08/06 21:31

I am not an expert, but here are some suggestions that you can do:
Before you do any more, replace the uppercase tags and attributes with
lowercase. That is part of HTML 4.01 spec (or so I have read.)

Add the doctype declaration before the <head>

1. If you are going for transitional (it is recommended not to do this) use
this one:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

for strict add this one (and make a lot of people very happy ;-) ):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

The doctype go before the <head> statement. You can only have one.

2. Try adding these in the <head>, before or after your current <meta>
stuff:

<link rel="stylesheet" type="text/css" media="screen" href="****.css" />
<!--put the name of your CSS in the appropriate location-->
<link rel="shortcut icon" href="favicon.ico" /> <!--only if you have an icon
in the address box-->
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<!--This is the default character set, not completely required-->
<meta http-equiv="Content-Script-Type" content="text/javascript" />

They will help.

3. You have a major error in the <head> statement. You have three (or more)
<head> statements! (not better than one, bad mojo)

basically you have this:

<html>
<head>
Header stuff here
</head>

<body>
Body stuff
</body>

<head>
More head stuff!!
</head>

<body>
More body stuff!!
</body>

<head>
Even more head stuff!!
</head>

<body>
Even more body stuff!!
</body>
</html>

Edit the multiple <head>s together for a single, unified <head> statement,
same for the multiple <body> sections. Remove the redundancies to prevent
strange behaviors.

4. Your embedded scripts appear to be a little off. From what I have learned
(which is very little) they should look like this:

<script>
<!--//
script stuff here
//-->
</script>

I CANNOT GUARANTEE I AM RIGHT ON THIS ONE. I am not an expert on scripting
by any definition of the word. Newbie would be stretching it.

Try revalidating and correct any further errors.

Jeremy

--
Visit my Saab & me at:
http://jerem43.home.att.net


<buzbybakers@hotmail.com> wrote in message
news:1149792294.651819.323830@g10g2000cwb.googlegroups.com...
> Ok when I first started out trying to fix these I had about 60 problems
> with the site. Now I'm down to about 29. Alot of these I think i need a
> substitute attribute for them but I'm not sure how to go about that. If
> someone could pleas ehelp I'd be very grateful. the URL is
> http://validator.w3.org/check?uri=http%3A%2F%2Fwww.magview.com%2F&charset=%28detect+automatically%29&doctype=Inline.
> thanks
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация