Question: What is the purpose of the img tag in HTML?
Answer: The img tag is used to embed images into an HTML document. It requires the src attribute to specify the URL of the image file and optionally includes attributes like alt for alternative text and width and height for image dimensions.
html interview questions and answers for experienced, html5 css3 interview questions, html5 interview questions, html5 interview questions and answers, javascript interview questions and answers, top 50 html interview questions, html interview questions and answers for freshers, reactjs interview questions, web developer interview questions