All CoursesWeb Design Course

Assignments & MCQs

Test your HTML, CSS, and web design knowledge.

Multiple Choice Questions

1. What does HTML stand for?

2. Which HTML element is used for the largest heading?

3. Which CSS property controls the text size?

4. What is the correct CSS syntax to make all <p> elements bold?

5. Which CSS property is used to change the background color?

6. Which display property value makes items lay out in a row by default?

7. What does the 'alt' attribute in <img> provide?

8. Which CSS property adds space INSIDE an element's border?

9. What is the correct HTML for creating a hyperlink?

10. Which CSS unit is relative to the font-size of the root element?

Coding Challenges

  1. Create a responsive navigation bar that collapses into a hamburger icon on mobile
  2. Build a CSS-only accordion (hint: use checkbox hack or details/summary)
  3. Design a pricing table with 3 columns: Basic, Pro, Enterprise — highlight the Pro plan
  4. Create a CSS Grid-based image gallery with different sized items
  5. Build a complete contact page with a styled form and embedded map placeholder