+ 1
what is the use of alt
3 Réponses
+ 2
The required alt attribute specifies an alternate text for an image, if the image cannot be displayed.
The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader).
+ 1
the line we write inside "" after alt , is displayed if the image does not exist due to any reason.
- 2
you can see the lesson