Using the ____ attribute in the img tag helps improve website accessibility.

  • alt 
  • class 
  • id 
  • srcset 
As mentioned earlier, the alt attribute in the tag provides alternative text for an image. This is crucial for website accessibility, especially for visually impaired users who might be using screen readers. The alt text provides a textual description, enabling such users to understand and interpret the content of the image even if they can't see it. Incorporating alt attributes effectively makes the web more inclusive and user-friendly. 
Add your answer
Loading...

Related Quiz