Pagina 1 di 1

w3c .... 2 errori ????

MessaggioInviato: sab feb 10, 2007 2:11 am
da maopapof
con la buona serata a tutti

ho un piccolo problema di errore validando con W3C......... e non so come risolverlo.......... è sicuramente per me una mancanza di chiusura screap ...
mi potete aiutare ? ........grazie
ps....... mi dite perfavore come mai se si chiudono ...... /> w3c dà errore ?


Result: Failed validation, 2 errors
Address:

Modified: Fri Feb 9 23:40:59 2007
Server: Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.7i DAV/2 PHP/5.1.2
Size: 4021
Content-Type: text/html
Encoding: iso-8859-1

Doctype: HTML 4.01 Strict

Revalidate With Options
:
Show Source
Show Outline

Validate error pages
Verbose Output




Below are the results of attempting to parse this document with an SGML parser.
1. Error Line 21, column 7: required attribute "TYPE" not specified .
<script>
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>.

2. Error Line 40, column 6: end tag for "HTML" which is not finished .
</html>Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></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.

MessaggioInviato: ven feb 16, 2007 12:59 am
da gialloporpora
Bisogna vedere la pagina,
il primo dice che ti manca un'attibuto type, credo sia che hai omesso l'attributo di script:
devi mettere::
Codice: Seleziona tutto
<script type="text/javascript">


e non il solo <script>

il secondo dice che non hai chiuso corretamente un TAG ma bisogna vedere il codice, visto che ti dice la linea e la colonna dove inizia dai un'occhiata.
Ciao