What attribute do you need put in an image in HTML?
Answers
Answered by
4
In order to put a simple image on a webpage, we use the <img> element. This is an empty element (meaning that it has no text content or closing tag) that requires a minimum of one attribute to be useful — src (sometimes spoken as its full title, source).
Answered by
23
ANSWER :-
The src attribute contains a path pointing to the image you want to embed in the page, which can be a relative or absolute URL, in the same way as href attribute values in <a> elements
♡ Hope this helps you ♡
Similar questions