Everyone loves images when added with the boring text, all websites have images to make them attractive. So, sometimes adding an image perfect to our web page can be a little complex, HTML can add many images to the web application like jpg, jpeg, and png, etc, so how do we exactly put an image on our web page?
Syntax : <img src = "Image URL" ... attributes-list/>
Let’s learn with some examples.
<!DOCTYPE html> <html> <head> <title>HTML IMAGE </title> </head> <body> <img src="HTML.jpg" alt="HTML IMAGE"> </body> </html>