Skip to main content

HTML Image tag tutorial for freshers

HTML Image <img> tag is easy to use and <img> tag is used for displying images to web pages. Initially we have to put url's to HTML page. When we run the html page it'll load automatically.

HTML Image <img> tag syntax is below,

<img src="image url here" alt="Text about URL">

HTML Image <img> tag examples below,

<html>
  <head>
    <title>Welcome to Freshers Blog</title>  
  </head>
  <body>
    <img src="freshersblog.png" alt="Freshersblog">
    <img src="freshersblog.png" alt="Freshersblog" width="100" height="150">
  </body>
</html>

The above example is used for your freshers,
Thanks.