Skip to main content

Posts

Showing posts with the label images

Day 4 of 100 Days Web Development Challenge

 Hey, this is my 4 th day of 100 days web development challenge. I started this challenge with learning HTML as it is the foundation for structuring a web page. I have already completed with what is html and it's syntax ,  heading tags and lists , and yesterday completed with  formatting tags  in html.  Today, I have learnt the <img> tag and this blog is about the image tag. Topics: <img> tag <img> attributes Images as a link <img> tag: The <img> tag in html is used for displaying images on a web page. Images make a web page more attractive. The <img> tag is an empty tag, which means it does not has a closing tag. For displaying an image, we need to specify the path of that image. We use the "src" attribute inside the <img> tag to specify the image's path in the form of an URL(Uniform Resource Locator). For example: <img src="image url"> There are two ways in which we can provide the image url: Absolute url: A...