J
John
Hello.
I am just learning to update html to xhtml and had a few validation
errors I wondered if you could help me with.
The first one says: The tag: "Area" is not allowed within: "area" It
is only allowed within; map.[xhtml 1.0 translation]
The second one says: Nesting error, "area" should be closed before
"map" [xhtml 1.0 translation]
The code in question is as follows:
<map name="navbarMap" id="navbarMap">
<area shape="rect" coords="1,0,62,20" href="index.htm" alt="Home">
<area shape="rect" coords="71,0,117,20" href="about.htm" alt="About">
<area shape="rect" coords="129,0,196,20" href="tours.htm" alt="Find
Tours">
<area shape="rect" coords="209,0,311,20" href="profiles.htm"
alt="Country Profiles">
<area shape="rect" coords="327,0,434,20" href="contact.htm"
alt="Contact An Agent">
</map>
If you can help me to understand this better I would be very grateful.
Thanks
John
I am just learning to update html to xhtml and had a few validation
errors I wondered if you could help me with.
The first one says: The tag: "Area" is not allowed within: "area" It
is only allowed within; map.[xhtml 1.0 translation]
The second one says: Nesting error, "area" should be closed before
"map" [xhtml 1.0 translation]
The code in question is as follows:
<map name="navbarMap" id="navbarMap">
<area shape="rect" coords="1,0,62,20" href="index.htm" alt="Home">
<area shape="rect" coords="71,0,117,20" href="about.htm" alt="About">
<area shape="rect" coords="129,0,196,20" href="tours.htm" alt="Find
Tours">
<area shape="rect" coords="209,0,311,20" href="profiles.htm"
alt="Country Profiles">
<area shape="rect" coords="327,0,434,20" href="contact.htm"
alt="Contact An Agent">
</map>
If you can help me to understand this better I would be very grateful.
Thanks
John