203k views
4 votes
The purpose of the ____________ element is to provide a method for a browser to display different images depending on specific criteria indicated by the web developer

User Weeble
by
8.0k points

1 Answer

4 votes
Answer: <img>

Step-by-step explanation:
The <img> element is used in HTML to display an image.
The <img> element has several attributes that point to different image types.
(a) It has a "src" attribute which points to the location of the image.
(b) It has an "alt" attribute that displays descriptive text in case the image cannot be displayed.
(c) It has "width" and "height" attributes for scaling the displayed image.
User Leolo
by
6.9k points