With HTML Image we can insert and use images in our website
it start with <img /> tag inside <img> tag src="source of image" attribute used for image path and
image folder.
Example of HTML Image:
<html>
<head>
<title> My Test Title </title>
</head>
<body>
<!-- Comment tag start exclamation mark that browser not read comments -->
<!-- Head Tag -->
<h1> My Test Image</h1>
<!-- Break line Tag -->
<br />
<!-- Image -->
<img src="images/h.png" width="100" height="100" />
</body>
</html>
and the result will look like below:
it start with <img /> tag inside <img> tag src="source of image" attribute used for image path and
image folder.
Example of HTML Image:
<html>
<head>
<title> My Test Title </title>
</head>
<body>
<!-- Comment tag start exclamation mark that browser not read comments -->
<!-- Head Tag -->
<h1> My Test Image</h1>
<!-- Break line Tag -->
<br />
<!-- Image -->
<img src="images/h.png" width="100" height="100" />
</body>
</html>
and the result will look like below:
No comments:
Post a Comment