dimanche 28 juillet 2013

HTML : L'attribut 'alt'

L'attribut 'alt' vient de mot anglais 'alternatif' signifiant un alternatif.

Exemple

<img   img='NomImage' alt='description'>

L'attribut 'alt' définit le texte qui sera afficher si l'image n'a pas été affichée. 

Aucun commentaire:

Enregistrer un commentaire