How to insert image in div tag in html Code Example
how to insert image in div tag in html
To insert an image in HTML, use the image tag and include a source and alt attribute. Like any other HTML element, you'll add images to the body section of your HTML file. The syntax looks like this: . An image is known as an “empty element” in HTML.