Can't work out this one HTML error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raccoon2
    New Member
    • Sep 2007
    • 2

    Can't work out this one HTML error

    Hello

    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"><im g 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>
    </div>

    Does anyone have any ideas on how I might fix this.
    Im using Dreamweaver 8 on a PC
    Thank you
  • raccoon2
    New Member
    • Sep 2007
    • 2

    #2
    The web address for this site is http://www.aussiewayba ckpackers.com

    Comment

    • drhowarddrfine
      Recognized Expert Expert
      • Sep 2006
      • 7434

      #3
      document type does not allow element "a" here

      Comment

      Working...