In this page you can learn how to add image in HTML page .The steps are given below
- At First we have to create an HTML page with the name of index.html.
- At next we have to create ah HTML tag (<html></html>).
- Inside the html tag we have to create ah head tag (<head></head>).
- Inside the head tag we have to include title tag (<title></title>).
- At next we have to create an body tag.
- 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.
Post a Comment