Computer Science, asked by singhminhas006, 3 months ago

which attribute is used with img tag to display the text if image could not load in browser

Answers

Answered by DeshnaSharma
5

Answer:

The required alt attribute specifies an alternate text for an image, if the image cannot be displayed.

Answered by probrainsme102
0

Answer:

Alt attribute

Explanation:

The alt attribute shows an alternate text for the image if the image is not displayed. The value of the Alt attribute describes the image in words. Alt attribute is considered good from an SEO perspective. The image makes our webpage more attractive and beautiful. Readers also like blog posts made with photos more than a webpage created with no photos.

That's why the Image Element has been added to HTML. The image element is used to insert pictures in HTML documents. Image is defined by the <img> tag. The <img> tag is an empty HTML tag. Which does not have any companion tag i.e. Closing Tag.

#SPJ2

Similar questions