alt


altstring

Sets or gets an image's alt text.

An image's alternative text is typically a relatively short phrase that describes what the image depicts.

The alternative text is used:

  • If the browser cannot display the image.
  • If the user is utilizing a screen reader.
  • By search engines to understand what images are on your site.
Was this helpful?
Yes
No