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, freeSample questions
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.
What tag is used for creating hyperlinks in HTML?
Show answer
Answer: A. <a>
The <a> tag is used to create hyperlinks in HTML.
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.
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.
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.
More questions in this quiz
Answers and explanations are in the full quiz.
- What is the main purpose of CSS in web development?
- Which of the following is the correct way to make a paragraph in HTML?
- Which of the following is a CSS property?
- Which CSS framework is widely used for responsive web design?
- How do you add a background color in CSS?
- What is the default display value for <div> elements?
- In CSS, what does the 'a:hover' pseudo-class specify?
- Which of the following is a correct CSS comment?
- What is the purpose of the <meta> tag in HTML?
- Which tag is used to define a list item in HTML?
- What is the purpose of the 'id' attribute in HTML?
- In CSS, which property is used to align text to the right?
- How can you make a list that lists the items with numbers?
- Which of the following is used to include an external CSS file in HTML?
- In HTML5, which element is used to embed a video?
Browse all Creating Web Pages quizzes