Posts

Showing posts from January, 2026

Third Semester_Web Technology_Quesiton Answer

 Describe the <img> and <a> tag with example.(2079 BICTE 5Marks) The <img> tag is used in HTML to insert and display images on a web page. It is an empty tag and does not have a closing tag. The image source is specified using the src attribute, while the alt attribute provides alternate text if the image cannot be displayed. Attributes like width and height are used to control the size of the image on the web page. Example: <img src="image.jpg" alt="Sample Image" width="200" height="150"> The <a> tag, also called the anchor tag, is used in HTML to create hyperlinks. It allows users to navigate from one web page to another or to different resources. The destination address of the link is defined using the href attribute, and the clickable text is written between the opening and closing <a> tag. Example: <a href="https://www.google.com">Visit Google</a> How is HTML differs form C...