Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invalid HTML

Status
Not open for further replies.

jj1234

MIS
Jan 27, 2006
46
GB
For some reason the HTML is invalid as the style sheet is not reading it correctly, can anyone help?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"<html xmlns="<head>
<title>Useful links</title>
<meta name="keywords" content="social clubs southampton,clubs southampton,single events hampshire,new friends hampshire,new friends southampton,looking new friends,meeting new people,social clubs south coast,looking friendship uk,social clubs UK">
<meta name="description" content="A social club for people to go out enjoy themselves and try new activites">
<meta name="robots" content="index,follow">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="header"></div>
<div id="navcontainer">
<ul>
<li> <a href="index.htm">Home</a> </li>
<li> <a href="faq.htm">FAQ's</a> </li>
<li> <a href="links.htm">Links</a> </li>
<li> <a href="feb.html">Calendar</a></li>
<li> <a href="contact.html" id="last">Contact</A>
</ul>
</div>
<div id="content">
<div id="rightcol">
</div>
<h1>Useful and Relevant Links</h1>
<p><a href=" target="_self">Calshot activites centre</a></p>
<p><a href=" target="_self">Clubs / Societies in Hampshire</a> - Hampshire County Council webpage</p>
<p><a href=" target="_self">Southampton Daily Echo</a></p>
<p><a href=" target="_self">General clubs / societies in Hampshire</a></p>
<p><a href=" target="_self">Ocean FM </a> - local radio station</a></p>
<p><a href=" target="_self">Power FM </a> - local radio station</a></p>
<p><a href=" target="_self">Odeon cinema (Southampton area)</a></p>
<p><a href=" target="_self">Harbour lights cinema</a></p>
<p><a href=" target="_self">Southampton community website</a></p>
<p><a href=" target="_self">Southampton pubs</a></p>
<p><a href=" target="_self">The Brook </a> - Music venue for local bands</a></p>
<p><a href=" target="_self">Harbour lights cinema</a></p>
<p><a href=" target="_self">UGI cinema Southampton</a></p>
<p><a href=" target="_self">Events in the Southampton area</a></p>
<p><a href=" target="_self">South Scene </a> - Music events on the south coast</a></p>
<p><a href=" target="_self">Knowhere Guide </a>- Where to go out in Southampton</a></p>

</div>
</div>

</body>
</html>
 
There is a validator at:
Just paste your code in to get the list of errors

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
You need to close your meta tags if you go XHTML. You have some of them closed... but not all.

Also... all tags need to be lower case (you have a </A> in use).

I'm sure you'll find more. Another validator is at
Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
How did this work out for you, jj1234? Did you solve the problem?

If you were happy with the suggestions and think they deserve some kind of thanks... please feel free to post your thanks on each thread where someone helps you (it's polite to do so at the very least).

You can also award a star to those that you feel helped solve your problem... you do so by clicking the link that says "Thank XXXXX for this valuable post!".

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
And remove the ' target"_self" ' bits - unless you have a base override, they're really unnecessary, and simply serve to waste bandwidth (yours, and your users').

Hope this helps,
Dan




[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Thanks for your help in telling me the code needed to be validated. I tried this and it helped a lot and resovled the issue. I will take the time to valdate the code in the future.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top