HTML MCQ Test: HTML MCQs - Practice Questions
1. What is the correct HTML element for inserting a line break?
2. What does the HTML <img> tag represent?
3. In HTML, which attribute is used to define the source URL of an image?
4. What is the purpose of the HTML <p> element?
5. Which HTML tag is used to define a list item in an ordered or unordered list?
6. What does the 'async' attribute in a script tag do in HTML?
7. Which HTML element is used to define a container for external content or embedded applications?
8. What is the correct HTML tag for creating an unordered list?
9. What does the HTML <em> tag represent?
10. What is the correct HTML tag for creating an ordered list?
11. What does the 'contenteditable' attribute in HTML allow you to do?
12. What does the 'hidden' attribute do in HTML?
13. Which HTML tag is used to create a numbered list?
14. Which HTML tag is used to create a line break within a paragraph?
15. What is the purpose of the HTML <form> element?
16. Which HTML element is used to define a container for a group of navigation links?
17. Which HTML element is used to define a container for interactive form controls?
18. What is the purpose of the HTML <b> element?
19. What is the purpose of the HTML <meta> tag?
20. What is the purpose of the 'defer' attribute in a script tag?