Any2Quiz
CBSE / 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.

Play all 20 questions free

Sample questions

  1. What does HTML stand for?

    1. Hyper Text Markup Language
    2. High Text Markup Language
    3. Hyperlinking Text Markdown Language
    4. Hyper Text Mockup Language
    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?

    1. <a>
    2. <link>
    3. <hyperlink>
    4. <connect>
    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?

    1. styles
    2. class
    3. style
    4. css
    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?

    1. text-color
    2. font-color
    3. color
    4. text-style
    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?

    1. There is no difference; both are used for the same purpose.
    2. <section> is a semantic tag, while <div> is a non-semantic block-level tag.
    3. <section> is used for creating lists while <div> for articles.
    4. <div> provides better performance than <section>.
    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

Browse all Creating Web Pages quizzes