html mcq basic questions for beginners

(1) How many heading tags are there in HTML?

(2) Which is the smallest heading tag in HTML?

(3) What is the use of the anchor tag?

(4) Which tag is correct to create a link in a webpage?

(5) What is the use of the <img> tag?

(6) When we use the <ul> tag, what type of list do we get?

(7) What will be the output of this code: <ul><li>item 1</li><li>item 2<li>item 3</li></ul>

(8) Which tag is used to create rows in a table?

(9) What is the use of the rowspan attribute?

(10) What is the function of the <strong> tag?

(11) Which tag do we use to take user input?

(12) Which tag is used to give a title to a webpage?

(13) We have added the video tag to the website, now we want to add a thumbnail. Which tag is correct for this?

(14) What is <div>?

(15) Where does the title tag go in an HTML document?

(16) What should be the file extension to save an HTML file?

(17) How can we make the entire webpage background black without using CSS?

(18) When was HTML5 launched?

(19) What is the full form of HTML?

(20) Which tag does an HTML document start with?