HTML: How to add image to your webpage?
Image Tag IN HTML In this post we will see how to add images to your webpage. You can see in webpages where images are displayed, since it belongs to content layer of web, HTML is responsible for that too! The <img> Tag in HTML used to display an Image in a webpage. It has many Attributes with it! One of the main Attribute of this tag is src Attribute. Which is used to give source of the image. The correct usage of this tag is <img src = " file path/url " > Where src is the key and its value must be a url or file path File path is used to display an image in your device, which is especially used for local hosting. But URL is the best way to host images into a webpage. For example see the image below You can a simple image here. The actual code behind this is: <img src = " https://i.postimg.cc/BZYT9f8K/20201101-092919.jpg " > So here you can actually see the what is the URL. So okay now, let's see some oth...