The ____ attribute in the img tag can be utilized to display text while the image is loading.

  • alt 
  • display 
  • src 
  • title 
The alt attribute, also known as the "alternative text" attribute, is used within the tag to provide a text description for an image. This can be particularly helpful if the image fails to load or if the user is relying on screen reading software. The text can provide context or describe what is in the image, ensuring no information is lost even if the image doesn't appear. 
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *