la pagina è questa
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Costa Daniele pittore scultore arte&arte</title>
<style type="text/css">
@import "stylesite.css" ;
@import "style_index.css";
</style>
<script language="JavaScript" type="text/javascript" src="javascript_style.js">
</script>
</head>
<body onload="finish()">
<div id="loading">
</div>
<div id="DIV_body">
<div id="DIV_top">
<a onclick="addpaginainizale()"><div id="DIV_casa"></div></a>
<a onclick="addbookmark()"><div id="DIV_archivio"></div></a>
</div>
<div id="DIV_center">
<div id="DIV_main">
<div id="DIV_webcam">
<div class="DIV_title">webcam nello studio del pittore</div>
<div id="DIV_webcam_sub"><applet codebase="." code="kabcam.viewer.class" name="KABcamApplet" width="320" height="240" hspace="0" vspace="0" align="middle">
<param name="refresh" value="1"></param>
<param name="imagefile" value="SpyCam.jpg"></param>
<param name="archive" value="kabcam.jar"></param>
Per poter visualizzare la webcam è necessario scaricare il <span id="a_java"> Java</span>
</applet></div>
</div>
<div id="DIV_ospiti">
<div class="DIV_title">pittori ospiti su costadaniele.it </div>
<div id="DIV_ospiti_sub">
<table width="325">
<tr> <td width="132">[img]image/galleria/ospiti/picone/1.jpg[/img]</td>
<td width="68">[img]image/galleria/ospiti/rocco/1.jpg[/img]</td>
<td width="117">[img]image/galleria/ospiti/cesare/1.jpg[/img]</td>
</tr>
<tr> <td><div class="titolo" >Michele Picone </div></td> <td>
<div class="titolo">R.Cuvato</div>
</td>
<td><div class="titolo">C.Augusto</div></td>
</tr>
</table>
</div>
</div>
</div>
<div id="DIV_main_right">
<div id="menu">
<div class="submenu"><div id="homepage"></div></div>
<div class="submenu"><div id="biografia"></div></div>
<div class="submenu"><div id="galleria"></div></div>
<div class="submenu"><div id="associazione"></div></div>
<div id="menu_home"></div>
</div>
</div>
</div>
</div>
<div id="DIV_footer">
<table width="699" cellpadding="0" cellspacing="0">
<tr>
<td width="570">© Costadaniele.it - costaalessio@alice.it </td>
<td width="127">mappa sito|contatti</td>
</tr>
</table>
</div>
</body>
</html>
e questo è l'errore che mi da
codice:
Error Line 23 column 56: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
<a onclick="addpaginainizale()"><div id="DIV_casa"></div></a>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "
" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
✉
Error Line 24 column 55: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
<a onclick="addbookmark()"><div id="DIV_archivio"></div></a>
✉
Error Line 66 column 59: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
<div class="submenu"><div id="homepage"></div></div>
✉
Error Line 67 column 65: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
...submenu"><div id="biografia"></div></div>
✉
Error Line 68 column 63: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
...ss="submenu"><div id="galleria"></div></div>
✉
Error Line 69 column 71: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
...href="associazione.htm"><div id="associazione"></div></a></div>
l'errore è molto semplice , sicuramente il motivo dell'errore è che di un div ne ho fatto un link .
Potete consigliarmi una soluzione alternativa . ??