कोड की उपरोक्त पंक्ति में "alt" विशेषता का क्या उपयोग है?
What is the usage of “alt” attribute in the above line of code ?
<img src="xyz.jpg" class="w3-circle" alt="Alps">.
A)
B)
C)
D)
Explanation:
In the given line of code:
The alt
attribute is used to specify alternative text that will be displayed if the image cannot be shown (for example, if the image file is missing or there is an error in loading the image).
So, the correct answer is:
(A) specifies an alternate text if the image is not displayed.