Skip to main content
added 151 characters in body
Source Link
mplungjan
  • 174.5k
  • 28
  • 180
  • 240

Sure you can!

http://jsfiddle.net/VfTGW/

<img src="404" alt="Alt Text">
img {
 color:green;
 font:40px Impact;   
}

I do this as a fallback for header logo images, I think some versions of IE will not abide. Edit: Or Chrome apparently - I don't even see alt text in the demo(?). Firefox works well however.

img {
  color: green;
  font: 40px Impact;
}
<img src="404" alt="Alt Text">

Sure you can!

http://jsfiddle.net/VfTGW/

<img src="404" alt="Alt Text">
img {
 color:green;
 font:40px Impact;   
}

I do this as a fallback for header logo images, I think some versions of IE will not abide. Edit: Or Chrome apparently - I don't even see alt text in the demo(?). Firefox works well however.

Sure you can!

http://jsfiddle.net/VfTGW/

I do this as a fallback for header logo images, I think some versions of IE will not abide. Edit: Or Chrome apparently - I don't even see alt text in the demo(?). Firefox works well however.

img {
  color: green;
  font: 40px Impact;
}
<img src="404" alt="Alt Text">

Source Link
Mog
  • 102.2k
  • 37
  • 197
  • 231

Sure you can!

http://jsfiddle.net/VfTGW/

<img src="404" alt="Alt Text">
img {
 color:green;
 font:40px Impact;   
}

I do this as a fallback for header logo images, I think some versions of IE will not abide. Edit: Or Chrome apparently - I don't even see alt text in the demo(?). Firefox works well however.