Re: Prevent indexing images <img>

Hi Aurélien
I haven't tested any case yet, but I usually prefer to maintain graphic
elements and page content separated in my pages too.
Now, it depends on what you mean by "no choice but to use an image instead
of ...css".
I incorporate graphical elements in form of transparent 1px gif images and
use the "real" graphic as a CSS background element.
Then I wrap all the content which is to be replaced by the image in an
element with display:none, so that only the graphic appears.
Would this solution help you?
BTW, I don't think that such an attribute could be implemented.
As a very basic caveat, consider the malicious use that could be done of
such an attribute, hiding potentially illegal content present in the page.
Regards,
Andrea

Received on Tuesday, 10 March 2015 10:42:50 UTC