HTML and CSS Examination (50%) Mark
Your Score
1. What does HTML stand for?
2. Which HTML tag is used to create a hyperlink?
3. What is the correct HTML element for the largest heading?
4. Which HTML attribute is used to define inline styles?
5. What is the purpose of the <alt> attribute in an <img> tag?
6. How do you create an ordered list in HTML?
7. Which tag is used to define a table header?
8. Which tag is used to define a line break in HTML?
9. What is the correct HTML element for playing audio files?
10. How do you specify the character encoding for an HTML document?
11. Which HTML element is used to define the footer of a document or section?
12. What is the correct syntax for creating a form in HTML?
13. How do you create a checkbox in HTML?
14. Which HTML element is used to define a navigation link?
15. Which tag is used to define a paragraph in HTML?
16. How can you open a link in a new tab or window in HTML?
17. What does the <title>` tag do in HTML?
18. Which HTML tag is used for creating a dropdown list
19. Which of the following is used to create an unordered list in HTML?
20. Which HTML tag is used to create an input field where the user can enter a number?
21. What is the correct HTML element for inserting a line through the middle of a text?
22. Which tag is used to embed a video file in HTML?
23. What is the purpose of the <label> tag in HTML?
24. How can you create a multiline text input field in HTML?
25. Which HTML element is used to define the document's metadata?
26. What does CSS stand for?
27. Which HTML attribute is used to define CSS styles?
28. How do you change the background color of an element in CSS?
29. Which CSS property controls the text size?
30. How do you select an element with the id "header" in CSS?
31. How do you make the text bold in CSS?
32. Which CSS property is used to change the font of an element?
33. How do you make each word in a text start with a capital letter in CSS?
34. How do you add a shadow to a text in CSS?
35. How do you create space between the border and the content inside a div in CSS?
36. Which CSS property is used to change the color of the text?
37. How do you align text to the center of a div in CSS?
38. How can you create a rounded corner border in CSS?
39. Which property is used to set the background image of an element in CSS?
40. What is the default value of the `position` property in CSS?
41. Which CSS property controls the order of flex items in a flex container?
a
42. How do you change the width of an element to 100% of its container in CSS?
43. What does the `z-index` property in CSS control?
44. How do you apply a specific style to a single class in CSS?
45. Which CSS property is used to create space around elements, outside of any defined borders?
46. How do you create an inline block element in CSS?
47. Which property is used to specify the transparency of an element in CSS?
48. How do you select an element with the class name "button" in CSS?
49. How do you add a border to the top of an element in CSS?
50. Which CSS property is used to specify the layout of elements in a grid container?
Good Luck!