css using alt attributes code example Example: how to add css to alt attribute text body {background:#000022} img {color:#fff}