Forums

What excactly does this mean? (3 posts)

  1. kjagen
    Member
    Posted 2 years ago #

    Its from html from my text widget. Whats wrong?

    Line 259, Column 87: required attribute "alt" not specified
    …nt/upLoads/images_sidebar/berl.jpg"/>

    It says the very last sign is wrong ( > )

  2. do77
    Member
    Posted 2 years ago #

    FIrst off, I would give your picture the alt attribute. Somethin like this: alt="Image1"

  3. s_ha_dum (was apljdi)
    Member
    Posted 2 years ago #

    The 'alt' element is required for images. Add it as do77 suggested. That's all I see wrong, honestly. The logic, as I understand it, is that images are invisible to certain kinds of browsers, say to screen readers for the blind. The alt attribute provides something for those readers to grab onto. The 'alt' element also provides a fallback in case your image goes missing or becomes corrupt.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags