Awebpages displays a picture .What tag was used to display that picture ? A) Picture b) Mage c) img d) src
Answers
Answered by
7
The tag which is used to insert an image in the webpage is <IMG>
Answered by
1
ANSWER: img
The tag used to display a picture in a web page is “<img>”.
There are a few attributes associated with the image tag <img>.
The “Src” is the source attribute whose value is the name of the image file to be chosen to display in the page.
The “alt” attribute is used to display some text when the desired image is not found.
Apart from these attributes, width attribute and height attribute are used to indicate the image size.
For example: <img src=""smilie.jpg"" alt=""SMILIE"" height=""40px"" width=""45px"">.
There is no requirement of closing tag for the image tag.
Similar questions