The document contains two sets of HTML exam questions, each worth 30 points. Set A includes questions about HTML elements, structure, and CSS application, while Set B focuses on CSS properties, form elements, and semantic HTML. Both sets cover fundamental concepts necessary for understanding web development.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
13 views1 page
HTML Exam Paper
The document contains two sets of HTML exam questions, each worth 30 points. Set A includes questions about HTML elements, structure, and CSS application, while Set B focuses on CSS properties, form elements, and semantic HTML. Both sets cover fundamental concepts necessary for understanding web development.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
HTML exam paper.
Set A 15x2 = 30
1. How do you make a button change color when hovered?
2. What is the difference between <div> and <span>? 3. Write HTML for a navigation bar with 3 links. 4. What does HTML stand for? 5. How do you insert a line break in HTML? 6. Write the HTML code for a 2×2 table. 7. Create an unordered list with 3 items. 8. Write the basic structure of an HTML5 document. 9. How does the <label> tag work with the for attribute? 10. Which tag defines the title of a web page? 11. Name some semantic HTML elements. 12. Write the syntax to create a hyperlink in HTML. 13. What are the three ways to apply CSS? 14. How do you center text using CSS? 15. Name at least five form input types.
HTML exam paper. Set B 15x2 = 30
1. Write the CSS to change the background color to light grey.
2. What's the difference between <ol> and <ul>? 3. Write an example of a dropdown in a form. 4. What does HTML stand for? 5. Which property controls the size of text in CSS? 6. Write the basic structure of an HTML5 document. 7. What is the difference between id and class in CSS? 8. Which tag defines the title of a web page? 9. What attribute defines where to send form data? 10. Write the syntax to create a hyperlink in HTML. 11. Name some semantic HTML elements. 12. Which tag is used to create a form in HTML? 13. What are void (self-closing) elements in HTML? 14. How do you write a CSS rule for a class named .box? 15. Write the full syntax of a button with both class and id.