Alt attribute

how do i apply the alt attribute to an image

Just like you would the src attribute. Precede with a space, alt="alternate text".