IMAGE TAG
Code :
<!doctype html>
<html>
<head>
<title>Image Tag</title>
</head>
<body>
<h1>Insert Image</h1>
<p>
You can insert any image in your web page by using <img> tag. Following is the simple syntax to use this tag.<br><br>
<img src = "Image URL" ...attributes... />
</p>
<p>
The <img> tag is an empty tag, which means that, it can contain only list of attributes and it has no closing tag.
</p>
<p><b>Example :</b></p>
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRBTA89Ul3UGxrlqRC5YTYhZFca_8374SCdXz8kHQyc5l7T7Uf686rc27A&s=10" style="border: 2px solid green; border-radius: 4px" width="100%" alt="bg_img" />
</body>
</html>
Web View :
Come again Learn again !
« iCodeBuzz »
No comments:
Post a Comment