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!

required attribute "id" not specified for Map

Status
Not open for further replies.

multichild

Programmer
Jan 28, 2006
76
GB
Im having trouble passing the code below in w3c validator. Can anybody have a look and if they can help that would be great.

<map name="m_DocumentationRequired_selected">
<area shape="rect" coords="558,66,638,97" href="ContactUs.asp" title="Visa Information" alt="Visa Information" />
<area shape="rect" coords="472,66,553,97" href="trainingPay.htm" title="Training and Pay" alt="Training and Pay" />
<area shape="rect" coords="386,66,468,98" href="OverseasVisitors.htm" title="Arrival and Accomodation" alt="Arrival and Accomodation" />
<area shape="rect" coords="287,66,381,99" href="documentationRequired.htm" title="Documentation Required" alt="Documentation Required" />
<area shape="rect" coords="202,66,283,99" href="candidateProfile.htm" title="Candidate Profile" alt="Candidate Profile" />
<area shape="rect" coords="116,66,197,98" href="applicationForm.asp" title="Application form" alt="Application form" />
<area shape="rect" coords="31,66,111,98" href="index.htm" title="Home Page" alt="Home Page" />
</map>

<img name="DocumentationRequired_selected" src="HomePage_selected.gif" width="779" height="110" border="0" usemap="#m_DocumentationRequired_selected" alt="" />
 
you could try adding an ID.

BTW, when you post HTML code fragments, you should specify the DTD you're validating to.
Code:
<map name="m_DocumentationRequired_selected" [red]id="m_DocumentationRequired_selected"[/red]>
  <area shape="rect" coords="558,66,638,97" href="ContactUs.asp" title="Visa Information" alt="Visa Information" />
  <area shape="rect" coords="472,66,553,97" href="trainingPay.htm" title="Training and Pay" alt="Training and Pay" />
  <area shape="rect" coords="386,66,468,98" href="OverseasVisitors.htm" title="Arrival and Accomodation" alt="Arrival and Accomodation" />
  <area shape="rect" coords="287,66,381,99" href="documentationRequired.htm" title="Documentation Required" alt="Documentation Required" />
  <area shape="rect" coords="202,66,283,99" href="candidateProfile.htm" title="Candidate Profile" alt="Candidate Profile" />
  <area shape="rect" coords="116,66,197,98" href="applicationForm.asp" title="Application form" alt="Application form" />
  <area shape="rect" coords="31,66,111,98" href="index.htm" title="Home Page" alt="Home Page" />
</map>

<img name="DocumentationRequired_selected" src="HomePage_selected.gif" width="779" height="110" border="0" usemap="#m_DocumentationRequired_selected" alt="" />

---
Marcus
better questions get better answers - faq581-3339
accessible web design - zioncore.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top