which attribute specifies the source if an image file?
Answers
Answer:
Depends upon the programming language that you use.
Explanation:
For example in HTML you have the attribute as IMG SRC and to locate the and name called .jpg
The <img> src attribute specifies the source if an image file. An image can be included in an HTML page using the <img> tag.
Images are linked to online pages; they are not actually placed on web pages. The relevant picture is held in place by the <img> tag.
The image> tag must have the following two attributes:
src - Defines the image's path.
If the image cannot be displayed for some reason, alt specifies an alternative text for the image. Additionally, you must always give the image's width and height. The page can flicker while the image loads if the width and height are not provided.