|
Posted by Daniel R. Tobias on 09/21/05 07:11
James Helliwell wrote:
> If I add images with CSS (as a background to a class)I cant add alt text?
>
> I add a image to <HTML img src=etc and I can.
>
> AS alt text is good for SEO, im wodering which is best??
> I thought it was best to sperate all content from layout with CSS?
Well, if the image is part of the content, then it shouldn't be in the
CSS (since, as you say, CSS is designed to separate content from
presentation). And if the image is *not* part of the content (it's
purely there for a visual decorative effect as part of the
presentation), it has no need for ALT text, since the purpose of ALT
text is to substitute for the image in the case of users not displaying
the image (text and speech browsers, etc.).
--
== Dan ==
Dan's Mail Format Site: http://mailformat.dan.info/
Dan's Web Tips: http://webtips.dan.info/
Dan's Domain Site: http://domains.dan.info/
Navigation:
[Reply to this message]
|