You can display any image on the web page using <img /> tags. Such as

<img src="https://ashik.pw/wp-content/uploads/2017/10/banner-web-design.png" alt="web development" />

Display

Here src and alt are two attributes of the img tag. You can show the location of the picture by src and specify the image in alt. If the image is loading, then the text shows the alt inside.

You can give the source of the image in between the src. absolute path or relative path like we have a relative path. You can give absolute path if you want. https://ashik.pw/wp-content/uploads/2017/10/banner-web-design.png

There are also two attributes of height and width. Looking at the name, guess what can be done with this. You can define the length and width of the photo.

 

** width = “100” or height = “200” will be given in this way. Do not pay 100px this way.

 

** One of the advantages of a browser is the automatic adaptability of the browser so that the image is proportional to size. So it is incompatible to see the image.

 

There are more attributes such as align, valign, to give an alignment of the photo

The value of the align might be right, center, left

And valign values can be top, bottom, center

<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
<img align="right" src="/images/stories/imagel.jpg" alt="sunset"/>
<p> Ut wisi enim </p>

However, these attributes are no more used anymore