0% found this document useful (0 votes)
19 views1 page

CSS Basics for Class 8 Students

THIS DOCUMENT CAN BE USED FOR GRADE 8 STUDENTS

Uploaded by

saranyajithin333
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views1 page

CSS Basics for Class 8 Students

THIS DOCUMENT CAN BE USED FOR GRADE 8 STUDENTS

Uploaded by

saranyajithin333
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Important CSS Notes for Class 8

What is CSS?
CSS stands for Cascading Style Sheets. It is used to style and design web pages.

CSS Syntax
A CSS rule has a selector and a declaration block. Example: p {color: red; font-size: 16px;}

Text Properties
Examples: color, font-size, font-style, font-weight. Example: h1 {color: blue; font-size: 30px;}

Border Properties
Examples: border-style, border-width, border-color. Example: p {border: 2px solid black;}

Sample Questions
1. What is CSS? 2. Write the syntax of CSS. 3. Give an example of a text property. 4. Write a CSS
rule to set a border.

You might also like