Skip to main content

Menu

Home Quizzes Categories Current Affairs GK AI ToolsNEW Play Live Contact

CSS Quiz

Revise CSS rules and layout concepts used to style responsive web pages.

25 Questions
30 min Duration
40% To pass
1.00 Marks / correct

Instructions

  • This quiz has 25 questions.
  • Questions are picked at random from a bank of 50, so each attempt is different.
  • You have 30 minutes. The quiz submits automatically when time runs out.
  • You need 40% to pass.
  • There is no negative marking.
  • You can mark questions for review and return to them before submitting.
  • Correct answers and explanations are shown after you submit.

Sample Questions & Answers

A preview of 12 questions from this quiz, each with the correct answer and a written explanation. Attempt the full, timed quiz to be scored and earn XP.

  1. Question 1

    In HTML, which option best describes HTML?

    • An element defining a list item
    • An element defining a table data cell
    • An element grouping table body rows
    • HyperText Markup Language used to structure web content Correct answer
    Explanation: HTML is correctly described by: HyperText Markup Language used to structure web content.
  2. Question 2

    In HTML, which option best describes h1?

    • An element defining a table
    • An element defining a table header cell
    • An element used for a top-level heading Correct answer
    • An element grouping table footer rows
    Explanation: h1 is correctly described by: An element used for a top-level heading.
  3. Question 3

    In HTML, which option best describes p?

    • An element defining a table row
    • An element used for a paragraph Correct answer
    • An element grouping table header rows
    • An element used to collect user input
    Explanation: p is correctly described by: An element used for a paragraph.
  4. Question 4

    In HTML, which option best describes a?

    • An element used to create a hyperlink Correct answer
    • An element defining a table data cell
    • An element grouping table body rows
    • An element used for form controls
    Explanation: a is correctly described by: An element used to create a hyperlink.
  5. Question 5

    In HTML, which option best describes href?

    • An element defining a table header cell
    • An element grouping table footer rows
    • An element that labels a form control
    • An attribute specifying a link destination Correct answer
    Explanation: href is correctly described by: An attribute specifying a link destination.
  6. Question 6

    In HTML, which option best describes img?

    • An element grouping table header rows
    • An element used to collect user input
    • An element used to embed an image Correct answer
    • An element grouping related form controls
    Explanation: img is correctly described by: An element used to embed an image.
  7. Question 7

    In HTML, which option best describes src?

    • An element grouping table body rows
    • An attribute specifying a resource source Correct answer
    • An element used for form controls
    • An element providing a caption for a fieldset
    Explanation: src is correctly described by: An attribute specifying a resource source.
  8. Question 8

    In HTML, which option best describes alt?

    • An attribute providing alternative text Correct answer
    • An element grouping table footer rows
    • An element that labels a form control
    • An element used to create a clickable button
    Explanation: alt is correctly described by: An attribute providing alternative text.
  9. Question 9

    In HTML, which option best describes ul?

    • An element used to collect user input
    • An element grouping related form controls
    • An element used to create a selection control
    • An element defining an unordered list Correct answer
    Explanation: ul is correctly described by: An element defining an unordered list.
  10. Question 10

    In HTML, which option best describes ol?

    • An element used for form controls
    • An element providing a caption for a fieldset
    • An element defining an ordered list Correct answer
    • An element defining an option in a select control
    Explanation: ol is correctly described by: An element defining an ordered list.
  11. Question 11

    In HTML, which option best describes li?

    • An element that labels a form control
    • An element defining a list item Correct answer
    • An element used to create a clickable button
    • An element used for multi-line text input
    Explanation: li is correctly described by: An element defining a list item.
  12. Question 12

    In HTML, which option best describes table?

    • An element defining a table Correct answer
    • An element grouping related form controls
    • An element used to create a selection control
    • The document section containing metadata and resource links
    Explanation: table is correctly described by: An element defining a table.

Login/Register to attempt the full quiz and earn XP.

Explore more: All Computer & Technology quizzes · HTML

CSS and Web Styling

CSS controls the appearance and layout of web pages. Test your knowledge of selectors, the box model, Flexbox, Grid, responsive design and other everyday styling concepts.

Frequently Asked Questions

Each attempt serves 25 questions, drawn at random from a bank of 50, with 30 minutes.

You need at least 40% to pass this quiz.

No, there is no negative marking on this quiz.

Yes. You can attempt this quiz again at any time, though first-attempt XP bonuses apply only once.

Sign in to attempt this quiz and earn XP.

Login to Start Create free account

Related Quizzes