How To Insert Image In HTML




HTML Images Syntax

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:

<!DOCTYPE html>
<html>
<head>

</head>
<body>

<img src=”C:\Users\Denise\Desktop\l.jpg”>

</body>
</html>

OUTPUT




Add a Comment

Your email address will not be published. Required fields are marked *