Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    Markup validator service correzione html

    Aprendo questo html su http://www.w3.org/ mi dice i seguenti errori riportati sotto. Qualcuno può spiegarmi dove e come correggere gli errori segnalati?

    <!DOCTYPE HTML PUBLIC "-/W3C//DTD
    <HTML>
    <HEAD>
    <TITLE>Presentazione</TITLE>
    </HEAD>


    <BODY BGCOLOR="#0000ff">
    <IMG SRC= "http://www.calcioefinanza.it/wp-content/uploads/2014/01/iiiiii2.jpg" ALIGN= "RIGHT" WIDTH=900 HEIGHT=450>
    <BR><H2> NOME: </H2><H1><I> ????? </I> </H1></BR>
    <BR><H2> COGNOME: </H2><H1><I> ?????? </I> </H1></BR>
    <BR><H2> CLASSE: </H2><H1><I> ??????? </I> </H1></BR>
    </BODY>
    </HTML>


    1. Line 1, Column 1: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>"<HTML>
      The checked page did not contain a document type ("DOCTYPE") declaration. The Validator has tried to validate with a fallback DTD, but this is quite likely to be incorrect and will generate a large number of incorrect error messages. It is highly recommended that you insert the proper DOCTYPE declaration in your document -- instructions for doing this are given above -- and it is necessary to have this declaration before the page can be declared to be valid.

    2. Line 7, Column 116: required attribute "ALT" not specified…it/wp-content/uploads/2014/01/iiiiii2.jpg" ALIGN= "RIGHT" WIDTH=900 HEIGHT=450>
      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>.

    3. Line 8, Column 50: end tag for element "BR" which is not open<BR><H2> NOME: </H2><H1><I> ??????? </I> </H1></BR>
      The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.If this error occurred in a script section of your document, you should probably read this FAQ entry.

    4. Line 9, Column 53: end tag for element "BR" which is not open<BR><H2> COGNOME: </H2><H1><I> ?????? </I> </H1></BR>
      The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.If this error occurred in a script section of your document, you should probably read this FAQ entry.

    5. Line 10, Column 50: end tag for element "BR" which is not open<BR><H2> CLASSE: </H2><H1><I> ??????? </I> </H1></BR>
      The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

  2. #2
    Utente di HTML.it
    Registrato dal
    Nov 2015
    residenza
    TORINO
    Messaggi
    37
    Ciao,
    Il codice è scritto in html vecchio!
    Se è una pagina nuova puoi usare i <!DOCTYPE html>
    2) Tutte le immagini devono vere il testo alternativo alt="il mio testo se mancasse immagine"
    3) Il Tag <br> è autochiudente: non ha tag apertura e chiusura.
    Stessa cosa per gli altri errori

    Inoltre: Non usare proprietà deprecate tipo align . Usa CSS oppure l'attributo style="text-align:right"
    bgocolor è anche deprecato: Usa CSS oppure l'attributo style="background-color:#0000ff".

    Se vuoi un corso dove puoi imparare tutte queste cose, Vedi pure il link nel dettaglio del mio account oppure mandami un PM

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.