html Quiz

1. Which HTML tag is used to create an ordered list?

2. What is the primary purpose of the alt attribute in the HTML <img> tag?

3. Which HTML tag is used to create a hyperlink?

4. What is the purpose of the <thead>, <tbody>, and <tfoot> tags in an HTML table?

5. Which HTML tag is used to embed an inline frame?

6. Which tag is used to define the title of an HTML document?

7. Which tag is used to create a paragraph in HTML?

8. What is the purpose of the <meta> tag in HTML?

9. Which attribute is used to define an inline style for an HTML element?

10. Which HTML tag is used to create a form?

11. What does the colspan attribute in a <td> tag do?

12. Which HTML tag is used to define a section of navigation links?

13. What is the purpose of the <label> tag in HTML forms?

14. Which attribute is used to specify the URL of the page a link goes to?

15. What is the purpose of the <fieldset> tag in HTML forms?

16. Which HTML tag is used to define a thematic break in an HTML page?

17. What does the target="_blank" attribute in an <a> tag do?

18. What is the primary functionality of the <details> and <summary> elements?