Buongiorno a tutti,
ho creato il mio primo sitino in xhtml... e poichè sono alle prime armi..sto già litigando col validatore il rpoblema sta in errori che io non riesco a capire.. per esempio in queste 25 righe di codice mi da degli errori assurdi
vi posto il codice
<?xml version="1.0"?>
<!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>
<title>
I.E.G.Srl - Impianti Elettrici Gorletta
</title>
<link rel="stylesheet" type="text/css" href="centrato.css">
</head>
<body>
<code><SCRIPT type="text/javascript" SRC="dhtml/intro.js"></SCRIPT></code>
<div id="piedipagina">
<code>I.E.G. Impianti Elettrici Gorletta S.r.l.-Via del Carroccio n 9 - 21052 Borsano di Busto Arsizio
(VA) - tel. e fax :0331-341509</code>
<code> P.IVA n 01810640126</code>
</div>
</body>
</html>
ora mi dice quanto segue:
Below are the results of attempting to parse this document with an SGML parser.
Line 10, column 63: end tag for "link" omitted, but OMITTAG NO was specified
... rel="stylesheet" type="text/css" href="centrato.css">
^
Line 10, column 4: start tag was here (explain...).
<link rel="stylesheet" type="text/css" href="centrato.css">
^
Line 15, column 21: there is no attribute "type" (explain...).
<code><SCRIPT type="text/javascript" SRC="dhtml/intro.js"></SCRIPT></code>
^
Line 15, column 43: there is no attribute "SRC" (explain...).
<code><SCRIPT type="text/javascript" SRC="dhtml/intro.js"></SCRIPT></code>
^
Line 15, column 59: element "SCRIPT" undefined (explain...).
<code><SCRIPT type="text/javascript" SRC="dhtml/intro.js"></SCRIPT></code>
qualcuno mi sa aiutare..ho bisogno assolutamente della validazione..please!![]()
grazie a tutit per l'attenzione!![]()