20-10-2009, 15:33
Mam mape odnosników zrobioną z img...W3C pozakuje mi bład. Nie stety nie mogę go zidentyfikować albo nie rozumiem o co biega W3C:/
Cała strona jest zrobiona w:
<?xml version="1.0" encoding="iso-8859-2"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<div id="menu">
<img src="images/pasek caly.gif" usemap="#mapa" width="800" height="35" alt="" />
<map name="mapa">
<area shape="rect" href="index.html" coords="0,1,159,35" alt="Ofirmie"/>
<area shape="rect" href="cennik.html" coords="321,1,481,35" alt="cennik"/>
<area shape="rect" href="galeria.html" coords="482,1,800,35" alt="adresy"/>
</map>
</div>
a o to bład W3C
1. Line 18, Column 17: required attribute "id" not specified
<map name="mapa">
✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
Cała strona jest zrobiona w:
<?xml version="1.0" encoding="iso-8859-2"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<div id="menu">
<img src="images/pasek caly.gif" usemap="#mapa" width="800" height="35" alt="" />
<map name="mapa">
<area shape="rect" href="index.html" coords="0,1,159,35" alt="Ofirmie"/>
<area shape="rect" href="cennik.html" coords="321,1,481,35" alt="cennik"/>
<area shape="rect" href="galeria.html" coords="482,1,800,35" alt="adresy"/>
</map>
</div>
a o to bład W3C
1. Line 18, Column 17: required attribute "id" not specified
<map name="mapa">
✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.