Today we will learn to show an image using html tag.
Lets show an image using html <img> tag. <html> <head> <title>wellcome</title> <body> <img src="C:\Users\MY PC\Pictures\Saved Pictures\mypaint.png" alt="beautiful house"> </body> </html> src attribute means the source of the image file. the alt attribute specifies an alternate text for an image, if the image fails to load. if image loads output will be:- and if image fails to load the output will be:- thats it!!!