470,632 Members | 1,375 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,632 developers. It's quick & easy.

Can't work out this one HTML error


Below is the code for a clients site, I have tested it for validation on the WC3 website, but I get this one error message.

Line 276, Column 197: document type does not allow element "a" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "blockquote", "address", "center", "noframes", "fieldset", "form", "noscript", "ins", "del" start-tag.

d="Map"><a href="Aussieway%20Map.pdf"></a>

Here is code where I am receiving the error

<div id="map">
<p><a href="Aussieway%20Map.pdf"><img src="images/Aussieway-Map.gif" alt="aussie way map" width="132" height="200" border="0" usemap="#Map" /> <map name="Map" id="Map"><a href="Aussieway%20Map.pdf"></a>
<area shape="rect" coords="0,1,135,201" href="Aussieway%20Map.pdf" target="_blank" alt="" /></map></a> Click the map to<br />
enlarge or print</p>

Does anyone have any ideas on how I might fix this.
Im using Dreamweaver 8 on a PC
Thank you
Sep 19 '07 #1
2 1215
The web address for this site is http://www.aussiewaybackpackers.com
Sep 19 '07 #2
7,435 Expert 4TB
document type does not allow element "a" here
Sep 20 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Hunter Pieper | last post: by
6 posts views Thread by scottyman | last post: by
12 posts views Thread by mark2kay | last post: by
11 posts views Thread by cybervigilante | last post: by
5 posts views Thread by Mahendra Kumar Kutare | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.