Class 8 HTML and CSS Worksheet
This worksheet tests your understanding of fundamental HTML structure, common tags, and basic CSS styling concepts for web page design.
Your device's Print screen will open — choose "Save as PDF" to download.
Track practice: print a star chart
- Q1.Which HTML tag is used to define the internal style sheet?
- A.<style>
- B.<script>
- C.<css>
- D.<link>
- Q2.The container for all other HTML elements is the _______ tag.
- A.<body>
- B.<head>
- C.<html>
- D.<title>
- Q3.Which property is used to change the background color of an element in CSS?
- A.color
- B.background-color
- C.bgcolor
- D.background
- Q4.Which of the following is an empty tag in HTML?
- A.<p>
- B.<img>
- C.<h1>
- D.<div>
Preview — full sheet in the PDF
What's inside this workbook
This Class 8 Computer Science Practice contains 10 questions across 2 printable pages and includes a full answer key at medium difficulty. Aligned to the CBSE and NCERT syllabus.
How this worksheet helps your child
- Builds confidence in core Computer Science concepts taught in Class 8 through repeated, varied practice.
- Aligned to CBSE and NCERT — questions mirror the pattern children see in school tests and unit assessments.
- Comes with an answer key so parents and students can self-check in minutes, without needing a teacher.
- Pitched at medium level — use it for daily homework, weekend revision or quick exam warm-ups.
About this worksheet
Dive into the exciting world of web development with this Class 8 HTML and CSS Worksheet, specially designed for students following the CBSE curriculum. This practice worksheet helps young learners solidify their understanding of fundamental HTML structure, common tags, and essential CSS styling concepts. At this stage, grasping how websites are built is crucial for developing digital literacy and problem-solving skills in technology. This resource is perfect for students looking to reinforce their classroom learning, prepare for assessments, or simply explore the basics of creating beautiful and functional web pages. It provides a solid foundation for future studies in computer science and digital design, aligning perfectly with NCERT guidelines for developing practical computer skills.
What your child will learn
- Identify common HTML tags used to structure a web page.
- Practice writing basic HTML code to create simple web page elements.
- Recognize the role of CSS in styling web page content.
- Apply basic CSS properties to change the appearance of HTML elements.
- Understand the relationship between HTML for structure and CSS for presentation.
Understanding the concept
Imagine a house. HTML is like the framework – the walls, doors, and windows that give the house its basic shape and structure. Without HTML, a webpage would just be text without any organization. It tells the browser where the heading is, where a paragraph begins, and where an image should appear. For example, if you want a heading, you use the <h1> tag, and for a paragraph, you use the <p> tag. Now, once the house is built, you want to decorate it, right? You paint the walls, choose furniture, and add curtains. That's where CSS comes in! CSS (Cascading Style Sheets) is what makes your webpage look nice. It controls the colours, fonts, spacing, and layout. So, while HTML provides the content and structure, CSS dictates its style. You might use CSS to make all your headings blue or to change the font size of a particular paragraph. Together, HTML and CSS work hand-in-hand to create all the interactive and visually appealing websites you see every day.
Tips for parents & teachers
- Encourage your child to describe what each HTML tag or CSS property does in their own words.
- After completing the worksheet, challenge them to create a very simple web page using their understanding.
- Review the answered worksheet together, discussing how HTML and CSS elements interact.
- Connect the concepts to real-world websites by asking them to identify HTML or CSS features on their favourite sites.
- For extra practice, have them try to modify the appearance of a small piece of HTML code using different CSS styles.
Topics covered
How to use this worksheet at home
Open the print view and use your browser's Print dialog to print on regular A4 paper or save as a PDF. Hand the printed sheet to your child (Class 8) and set a relaxed time limit — 15 to 25 minutes works for most Computer Science worksheets. When they're done, open the "With answer key" view and let them self-mark question by question. Re-print as many times as you need; the file never expires and there's no download limit.
Frequently asked questions
- Is this Computer Science worksheet really free?
- Yes — every workbook on WorkbookWala is 100% free to download and print. No login, no email, no paywall. We're free for students, parents and teachers.
- Is it aligned to the CBSE / NCERT syllabus?
- Yes. All Class 8 worksheets are built around the CBSE and NCERT pattern so they map cleanly to what your child is studying in school.
- Can I print this worksheet at home?
- Yes. Click "Open print view" and use your browser's Print dialog to print on standard A4 paper, or save it as a PDF for later. The layout is designed to fit cleanly without scaling.
- Does it include an answer key?
- Yes — click "With answer key" to print a version with answers included, so parents and students can self-mark in minutes.
More Computer Science worksheets for Class 8
View all →Class 8 Computer Science: Advanced Internet Services
This worksheet challenges your understanding of various advanced internet services, their applications, and underlying concepts.
Class 8: Introduction to Python Programming Worksheet
This worksheet will help you understand the basic concepts of Python programming language, including its features, variables, and simple output statements.
Class 8 MS Access Basics Worksheet
This worksheet will help you practice fundamental concepts of Microsoft Access, including its purpose, basic components, and common terminology.
Class 8 Computer Science: Database Concepts
This worksheet helps Class 8 students understand fundamental database concepts, including their purpose, components, and basic operations.