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.

Class 8CBSEComputer SciencemediumPractice
Preview · 10 questions
  1. Q1. Which HTML tag is used to define the internal style sheet?
    • <style>
    • <script>
    • <css>
    • <link>
  2. Q2. The container for all other HTML elements is the _______ tag.
    • <body>
    • <head>
    • <html>
    • <title>
  3. Q3. Which property is used to change the background color of an element in CSS?
    • color
    • background-color
    • bgcolor
    • background
  4. Q4. Which of the following is an empty tag in HTML?
    • <p>
    • <img>
    • <h1>
    • <div>
  5. Q5. What does CSS stand for?
    • Creative Style Sheets
    • Computer Style Sheets
    • Cascading Style Sheets
    • Colorful Style Sheets

+ 5 more in the printable PDF.