Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > Вёрстка веб-сайтов > Проверка на валидность


Автор: ashenemy 17.3.2008, 04:26
Код

# Error  Line 63, Column 87: required attribute "alt" not specified .

… src="/images/logo.png" border="0"  /></a></div>

✉

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



вот порверял на валидность верстку и не понил в чем здесь ошибка то\
может кто знает

Автор: ilyaILF 17.3.2008, 05:03
...required attribute "alt" not specified - "обязательный атрибут alt не указан", для тега <img .... alt="myimg" /> атрибут alt является обязательным.
http://www.w3schools.com/tags/tag_img.asp - "Required Attributes" (обязательные атрибуты)

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)