Which attribute specifies the location of the image to be included in a web page?
13.2 Including an image: the IMG element
This attribute specifies the location of the image resource.
What are the attributes used with IMG tag?
The img element has two required attributes: src : The source location (URL) of the image file.alt : The alternate text. This is used to describe the image for someone who cannot see it because they are either using a screen reader or the image src is missing.
Which of the following attributes can be used to define the location of an image?
1 Answer. (b) src attribute is used to specify the location of an image file.