Lorsque je fait valider ma page par http://validator.w3.org/ j'optien un erreur :
1 2
| Line 80, Column 157: there is no attribute "onerror"
cant à vendre à Chertsey, Qc" onerror="imageError(this,'small','8186058','1')"
|
Voici la ligne de code en question
<img src="http://www.listingimmo.com/photos/small8186058-1.jpg" width="215" height="161" alt="Terrain vacant à vendre à Chertsey, Qc" onError="imageError(this,'small','8186058','1')" onAbort="imageError(this,'small','8186058','1')" />
Voici mon entete
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Donc ma question, comment faire en sorte de pouvoir un onError de facon valide?
Partager