An image:-
<html>
<body>
<h2>MANALI</h2>
<img src="pic_mul.jpg" alt="Manali Trip" style="width:100%">
</body>
</html>
<html>
<body>
<h2>MANALI</h2>
<img src="pic_mul.jpg" alt="Manali Trip" style="width:100%">
</body>
</html>
OUTPUT:-
- Images can improve the design and the appearance of a web page.
- In HTML, images are defined with the <img> tag.
- The <img> tag is empty, it contains attributes only, and does not have a closing tag.
- The src attribute specifies the URL (web address) of the image.
No comments:
Post a Comment