HTML Images
HTML Images:
• Images are very important to beautify & depict many complex concepts in simple way on your
web page.
• To insert image in your web page you use <img>tag.
• You can use png,jpeg,jpg image file based on your comfort.
• Remember that image name is always case sensitive.
Syntax:
<img src=”image url”…attributes-lists>
Example:
<!DOCTYPE html>
<html>
<head>
<title>Image in webpage</title>
</head>
<body>
<p>Simple image insert</p>
<img src=”Desktop\SavedPictures\flower.jpg” >
</body>
</html>
OUTPUT:
Simple image insert
Comments
Post a Comment