Class 8 Computer & AI Chapter 3: Web Pages with HTML and CSS — practice questions with answers
Free practice for Class 8 Computer & AI, Chapter 3: Web Pages with HTML and CSS. Try the solved questions below, then take a free test with instant marking and explanations.
41 questions15 easy, 18 medium, 8 hardNCERT · CBSE · State boards
Sample questions with solutions
Q1. HTML stands for HyperText ______ Language.
Show answer
Answer: Markup
Why: HTML describes the structure of a web page. [NAL syllabus, Class 8 Unit 3]
Why: HTML describes the structure of a web page. [NAL syllabus, Class 8 Unit 3]
Q2. What is the main job of HTML in a web page?
- To describe the structure and content, such as headings, paragraphs and images
- To decide colours and fonts only
- To store databases
- To run the computer
Show answer
Answer: A. To describe the structure and content, such as headings, paragraphs and images
Why: CSS handles the style. [NAL syllabus, Class 8 Unit 3]
Why: CSS handles the style. [NAL syllabus, Class 8 Unit 3]
Q3. What is the main job of CSS?
- To control how a page looks — colours, fonts, spacing and layout
- To create the page structure
- To connect to the internet
- To write Python code
Show answer
Answer: A. To control how a page looks — colours, fonts, spacing and layout
Why: CSS = Cascading Style Sheets. [NAL syllabus, Class 8 Unit 3]
Why: CSS = Cascading Style Sheets. [NAL syllabus, Class 8 Unit 3]
Q4. Which tag makes the largest heading?
Show answer
Answer: A.
Why: Headings go from (largest) to (smallest). [NAL syllabus, Class 8 Unit 3]
Why: Headings go from (largest) to (smallest). [NAL syllabus, Class 8 Unit 3]
Q5. Which tag creates a paragraph?
Show answer
Answer: A.
Why: Text inside … forms a paragraph. [NAL syllabus, Class 8 Unit 3]
Why: Text inside … forms a paragraph. [NAL syllabus, Class 8 Unit 3]
Q6. An ordered list contains 5 items. What number does the browser show next to the last item?
Show answer
Answer: 5 (± 0)
Why: Ordered lists are numbered 1, 2, 3, 4, 5. [NAL syllabus, Class 8 Unit 3]
Why: Ordered lists are numbered 1, 2, 3, 4, 5. [NAL syllabus, Class 8 Unit 3]
Practise all 41 questions free
Timed test, marked instantly, with the correct answer and explanation for every question and a chapter-wise report.
Start the free testFrequently asked questions
How many practice questions are there for Class 8 Computer & AI Chapter 3: Web Pages with HTML and CSS?
41 questions (15 easy, 18 medium, 8 hard). A few are solved on this page; the free test shows the answer and explanation for every question after you submit.
Is this chapter from the NCERT book?
Yes — it follows the NCERT Class 8 Computer & AI syllabus, used by CBSE and many state boards.