<img> TagThe <img> tag is used in HTML to display images on a web page.It’s an empty (self-closing) tag, meaning it has no closing tag.It's an inline element, meaning it will only take width required to show the image.
Image path can be:
images/pic.jpghttps://example.com/pic.jpg<img src="image.jpg" alt="Description of image">src (source)
<img src="logo.png">alt (alternative text)
<img src="logo.png" alt="Company Logo">width and height
<img src="photo.jpg" width="300" height="200">title (optional)
<img src="photo.jpg" title="This is a photo"><img src="flower.jpg" alt="Red Rose" width="250">