Visualizzazione dei risultati da 1 a 4 su 4
  1. #1
    Utente di HTML.it
    Registrato dal
    Jul 2006
    Messaggi
    15

    Validazione HTML fallita

    Ciao a tutti,
    ho provato a fare la validazione tramite il sito http://validator.w3.org/ ma presenta tre errori:



    Line 160, Column 64: required attribute "alt" not specified.
    … "http://www.bbalcentrodiroma.com/img/tedesco.gif" /></a>

    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>.

    Line 167, Column 64: required attribute "alt" not specified.
    … "http://www.bbalcentrodiroma.com/img/inglese.gif" /></a></p>
    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>.

    Line 175, Column 26: required attribute "alt" not specified.
    height="42" /></a></p><!--
    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>.

    Il codice che ho inserito è il seguente:







    </p>

    <p ALIGN="CENTER">
    <a href="mailto:info@bbalcentrodiroma.com"
    target="_blank">
    </a>
    </p>

    Non capisco proprio cosa non va....

    il sito in discussione è il seguente:
    www.bbalcentrodiroma.com/ita
    ed è fatto con rapidweaver 3.6

    Consigli?
    Grazie

  2. #2
    Moderatrice di Grafica, Cerco e offro lavoro L'avatar di Myaku
    Registrato dal
    Nov 2006
    Messaggi
    10,349
    non hai messo l'attributo "alt" alle immagini.



    ps. "align" non andrebbe usato

  3. #3
    Utente di HTML.it
    Registrato dal
    Jul 2006
    Messaggi
    15
    Grazie mille! Cosa posso usare al posto di align per centrare una immagine?

  4. #4
    Moderatrice di Grafica, Cerco e offro lavoro L'avatar di Myaku
    Registrato dal
    Nov 2006
    Messaggi
    10,349
    Originariamente inviato da Didodock
    Grazie mille! Cosa posso usare al posto di align per centrare una immagine?
    css. già con il solo text-align dovresti ottenere lo stesso risultato

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 © 2025 vBulletin Solutions, Inc. All rights reserved.