HTML Image
The <img> tag creates a holding space for the referenced image.Closing tags are not used in HTML image element.
HTML img Tag Example
<!DOCTYPE html> <html> <body> <h2>img example</h2> <br> <img src="logo.png" alt="logo" width="100" height="100"> </body> </html>