In an ideal world, all graphics and layout are defined in style sheets - but not <img> src? Must not be?
The goal of CSS is to help web developers identify and apply graphics and layout that are separate from the actual content.
However, it looks like CSS can customize almost anything (graphic image) on a website - besides the original <img>-tag attribute .
To achieve a 100% separation between style and content (what do we all want, right?), Should we not define image sources in CSS?
I know that CSS cannot do this (there is no support for changing the src attribute for images), but there are workarounds such as using <div>with backgrounds instead <img>. However, by doing this, will it not break the search engines?
My question is. Is <img>a reasonable action used instead to achieve a 100% separation between style and content?
+5