Image and link createin HTML. HTML is a markup language. Today we learn how to show an image and how to create a href Attribute. We are also learning about the style of the attribute. These three attributes most of the time are used in HTML language.
Image Attribute
<!DOCTYPE html>
<html>
<body>
<h3>Image source Attribute</h3>
<p>HTML image is need img tag and the Filename.</p>
<img src="img_name.jpg" width="600" height="600">
</body>
</html>
Here we see that we are using Heading 3 the heading. you can choose other Heading also, like H1, H2, H3, H4, H5, and H6. After Heading we see that, a paragraph tag. Here we write a paragraph. In addition, we need to learn now image attribute.
First of all, we write the tag of image <img src=" "> like that. After writing the image tag we need to trigger with this tag and show the image source. Suppose, Our computer or Hosting space has an image name "allbdtoday.jpg". Then we write the image tag <img src="allbdtoday.jpg"> as like.
How to Add Image HTML
After adding an image then we are giving some style. We are setting width and height sizes. It's very important to show an image. If your site home size is smaller than the image size then images are not showing or showing and overlapping. So we must add the width and height value.