Page 194 - CA_165_V2.0_Flipbook
P. 194
2. How is CSS beneficial for web page development ? Give any two points. [CBSE 2023]
a. Write the equivalent CSS code to set the following styles for a web page:
(i) Entire page background color should be yellow
(ii) Second level Heading properties should be as follows :
Text color should be Red
Left margin should be 25 px
OR
b. (i) Write a CSS code to display the first level heading text as "My
School" in Green color and center-aligned.
(ii) Write the CSS code to display the following paragraph below
the above mentioned heading :
This is my School
I study in class 12
The properties of the paragraph content should be as follows :
Text color should be yellow
Font size should be 25 px
Font style should be bold
192 Touchpad Computer Applications-X

