Автор Александр Неверов задал вопрос в разделе Верстка, CSS, HTML, SVG
validator.w3.org ругается на width="100%" height="100%" и получил лучший ответ
Ответ от Black vasilisk[гуру]
читаем
The width and height attributes on img, iframe, embed, object, video, and, when their type attribute is in the Image Button state, input elements may be specified to give the dimensions of the visual content of the element (the width and height respectively, relative to the nominal direction of the output medium), in CSS pixels. The attributes, if specified, must have values that are valid non-negative integers.
т. е. в атрибутах валидны лишь цифры (без px, % и т. д.). Попробуй так <img src="#" alt="" style="width:100%;height:1000%">
Ну дык, в HTML5 размеры задаются через CSS, а не через атрибуты. Так что или шашчеки или ехать. Хотяругается он всё же на то, что ширина не в пикселях.
А в чём проблема задать ширину в CSS? Не красиво что ли?