Any2Quiz
Quizzes / CBSE / Class 9 / ICT / Creating Web Pages

HTML and CSS Basics Quiz - CBSE Class 9 ICT

Free practice quiz: HTML and CSS Basics (CBSE Class 9 ICT). 20 multiple-choice questions with answers and explanations. Play online, no sign-up needed.

This CBSE Class 9 ICT practice quiz has 20 multiple-choice questions on HTML and CSS Basics, and 20 of them come with an explanation. Try the 5 sample questions below (tap an option to check yourself), then play the full quiz online. No sign-up needed.

Start quiz: 20 questions, free

Sample questions

  1. What does HTML stand for?

    Show answer

    Answer: A. Hyper Text Markup Language

    HTML stands for Hyper Text Markup Language, which is used to create web pages.

  2. What tag is used for creating hyperlinks in HTML?

    Show answer

    Answer: A. <a>

    The <a> tag is used to create hyperlinks in HTML.

  3. Which HTML attribute is used to define inline styles?

    Show answer

    Answer: C. style

    The 'style' attribute in HTML is used to apply inline styles to an element directly.

  4. What CSS property is used to change the text color of an element?

    Show answer

    Answer: C. color

    The 'color' property in CSS is used to set the color of text inside an element.

  5. What is the difference between <section> and <div> tags in HTML?

    Show answer

    Answer: B. <section> is a semantic tag, while <div> is a non-semantic block-level tag.

    <section> is a semantic tag used for grouping related content, while <div> is more generic and non-semantic.

Take the full quiz

More questions in this quiz

Answers and explanations are in the full quiz.

  1. What is the main purpose of CSS in web development?
  2. Which of the following is the correct way to make a paragraph in HTML?
  3. Which of the following is a CSS property?
  4. Which CSS framework is widely used for responsive web design?
  5. How do you add a background color in CSS?
  6. What is the default display value for <div> elements?
  7. In CSS, what does the 'a:hover' pseudo-class specify?
  8. Which of the following is a correct CSS comment?
  9. What is the purpose of the <meta> tag in HTML?
  10. Which tag is used to define a list item in HTML?
  11. What is the purpose of the 'id' attribute in HTML?
  12. In CSS, which property is used to align text to the right?
  13. How can you make a list that lists the items with numbers?
  14. Which of the following is used to include an external CSS file in HTML?
  15. In HTML5, which element is used to embed a video?

Browse all Creating Web Pages quizzes

More to play

Daily ChallengeA new quiz every day. Keep your streak.HangmanGuess the word, letter by letter.Story QuestLearn through short interactive stories.All quizzesCBSE, ICSE, competitive exams and more.