Hiding H1 behind images

liunx

Guest
I have an image in place of the H1 tag on my page. Now I want to hide the H1 tag behind the image. Both should be centered.

I want to do this, just incase someone has disabled images, gets to see the proper heading; + following the AAA recomendations of having an H1 tag before H2 (which is already present on my page). Is it possible using CSS?Im pretty sure its possible but why dont you just use the alt attribute in img tag?It's not semantically correct. As I understand it, the alt attribute is only supposed to be used as an alternate identifier of what belongs in the image's placeholder. Something like: alt="logo image". Plus, you can't style it. There IS a technique for what he wants. I've just never used it, but I have seen it referenced here. Somebody will come up with it.
 
Back
Top