HOW TO ADD IMAGE IN HTML PAGE ?

 

In this page you can learn how to add image in HTML page .The steps are given below

  1. At First we have to create an HTML page with the name of index.html.
  2. At next we have to create ah HTML tag (<html></html>).
  3. Inside the html tag we have to create ah head tag (<head></head>).
  4. Inside the head tag we have to include title tag (<title></title>).
  5. At next we have to create an body tag.
  6. In body tag we have include the image tag (<img>).

HTML CODE TO DISPLAY IMAGE IN WEB PAGE ?

<html>
  <head>
     <title>
       HOW TO ADD IMAGE IN HTML PAGE ?
     </title>
  </head>
  <body>
   <h1>
     HOW TO ADD IMAGE IN HTML PAGE ?
   </h1>
   <img src="img1.jpg" width="500" height="333">
  </body>

</html>

Note:

In above program in image tag you have to change the image file name.

By clicking the demo button you can see the live preview of this program.




0 Comments

Post a Comment

Post a Comment (0)

Previous Post Next Post