Punto informatico Network
Login Esegui login | Non sei registrato? Iscriviti ora (è gratuito!)
Username: Password:
  • Annuncio Pubblicitario

w3c .... 2 errori ????

Cerchi consigli per migliorare il tuo sito? Vuoi aprire un sito in poco tempo?
Discuti con altri webmaster, chiedi chiarimenti ed opinioni in tutta libertà.
Lo spam verrà cancellato.

w3c .... 2 errori ????

Messaggioda maopapof » sab feb 10, 2007 2:11 am

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.
Avatar utente
maopapof
Aficionado
Aficionado
 
Messaggi: 31
Iscritto il: ven dic 02, 2005 7:14 pm
Località: torino

Messaggioda gialloporpora » ven feb 16, 2007 12:59 am

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
Albert Einstein: « 10 cose sono infinite: l'universo e la stupidità umana ma sull'universo nutro ancora dubbi »
Avatar utente
gialloporpora
Membro Ufficiale (Gold)
Membro Ufficiale (Gold)
 
Messaggi: 1780
Iscritto il: mer lug 27, 2005 11:55 pm


Torna a Sviluppo Web

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite

Powered by phpBB © 2002, 2005, 2007, 2008 phpBB Group
Traduzione Italiana phpBB.it

megalab.it: testata telematica quotidiana registrata al Tribunale di Cosenza n. 22/09 del 13.08.2009, editore Master New Media S.r.l.; © Copyright 2008 Master New Media S.r.l. a socio unico - P.I. 02947530784. GRUPPO EDIZIONI MASTER Spa Tutti i diritti sono riservati. Per la pubblicità: Master Advertising