- Home
- Categorie
- Coding e Sistemistica
- HTML e CSS
- problema di validazione HTML
-
problema di validazione HTML
Questo eè il codice:
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="title" content="">
<meta name="description" content="">
<meta name="keywords" content="***************">
<meta name="revisit-after" content="7 days">
<meta name="robots" content="all">
<script type="text/javascript" src="flash/swfobject.js"></script>
<link href="style.css" rel="stylesheet" type="text/css"></head>
quando vado a far validare la pagina mi da un errore sulla chiusura del tag </head> con esattezza questo mi dice :
end tag for "HEAD" which is not finished.
-
Line 14 column 6: end tag for "HEAD" which is not finished.
</head>
Most likely, You nested tags and closed them in the wrong order. For example
*...</p> is not acceptable, as * must be closed before
. Acceptable nesting is:
...</p>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
questo intendevi o il codice della pagina da validare?
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="title" content="*********************>
<meta name="description" content="">
<meta name="keywords" content="p">
<meta name="revisit-after" content="7 days">
<meta name="robots" content="all">
<script type="text/javascript" src="flash/swfobject.js"></script>
<link href="style.css" rel="stylesheet" type="text/css"></head>
<body>
<div class="wrap">
<div id="top"></div>
<script type="text/javascript">
var so = new SWFObject("/*****/flash/header.swf", "header", "702", "349", "7" , true);
so.addParam("quality", "high");
so.addParam("wmode", "transparent");
so.addParam("salign", "t");
so.write("top");
</script>
<div id="content">
<div style="padding:4px 0px 6px 0px "><table width="99%" border="0">
<tr>
<td width="38%" height="81" valign="top"></td>
<td width="62%" valign="top"><p class="gray_d">********************</p></td>
</tr>
</table></p>
***************** ************ </p>
****** ********** ***************</p>
</p>
** ******** h******************************************** ******************************</p>
</p>
</div>
</div><div id="footer" class="clear">
<div align="center" class="copy">Copyright 2006 *********All rights reserved.</div>
<div align="center" class="blue_l">[url="sitemap.html"]Sitemap | [url="privacy.html"]Privacy Policy</div>
</div>
</div>
</body>
</html>Scusa asterischi ma devo ancora pubblicare il sito
-
grazie mille capivo che aveva a che fare col title ma sapendo che c'era come meta tag non capivo il nesso.
Ora è tutto cristallino grazie 1000.