Computer Science, asked by pushkar9693, 4 months ago

6. Explain the "src" and "alt" attributes of <img> tag?

Answers

Answered by nityathakurmanali01
2

Answer:

The src attribute is required, and contains the path to the image you want to embed. The alt attribute holds a text description of the image, which isn't mandatory but is incredibly useful for accessibility — screen readers read this description out to their users so they know what the image means.

Similar questions