Posted by Els on 01/14/06 00:42
David Dorward wrote:
> tochiromifune wrote:
>
>> My page fails the W3C validation test because my <img> tags are not
>> included in block level tags. Does that mean I must write:
>> <p><img src="" alt="" /></p>
>> instead of
>> <img src="" alt="" />
>
> An image where the alternative text is a null string is unlikely to be a
> paragraph. A div is more likely to be the most appropriate markup.
If you just enclose your entire page in one div, it might save you
some code, depending on how many loose images you have in it.
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
[Back to original message]
|