Following example shows that how to set image in web page. so follows the given step
Start the Notepad editor.
Now enter the following HTML code in Notepad.
- <html>
- <head>
- <title> Image Tag </title>
- </head>
- <body>
- <hr>
- <h2 align="center">My India</h2>
- <hr>
- <center>
- <img src="India.jpg" height="300" width="250" border="1">
- </center>
- </body>
- </html>
Save this file with "image.htm" file name
Now open this file in Internet Explorer(or in other wb browser).
0 Comments