Basic Syntax for an HTML Image
2. Setting Image Dimensions (Width and Height)
Example:
3. Using Images as Links
You can make an image clickable by wrapping it with an <a>
(anchor) tag.
<html>
<head>
<body>
<title> image </title> </head>
<a href="file:///C:/Users/ACER/Desktop/students/kiran/1%20001.jpg">
<img src="file:///C:/Users/ACER/Desktop/students/kiran/1%20001.jpg" width=20 hight=20></a>
</body>
</html>
No comments:
Post a Comment