HTML Homework Questions
1. What is HTML and why is it used?
2. Explain the structure of an HTML document.
3. What are HTML tags and attributes? Give examples.
4. What is the purpose of the <!DOCTYPE html> declaration?
5. How do you create a hyperlink in HTML?
6. What is the difference between <div> and <span> tags?
7. How do you insert an image in HTML? Mention the attributes used.
8. What are semantic HTML elements? Give examples.
9. Explain the difference between ordered and unordered lists in HTML.
10. How can you create a table in HTML? Write an example.
11. What is the purpose of the <head> tag in HTML?
12. How do you embed audio and video in an HTML page?
13. What are forms in HTML? List different input types.
14. How is the <iframe> tag used in HTML?
15. What are meta tags in HTML and why are they important?