CBSE Class 10 Computer Applications
Question 26 of 31
Solved 2023 Question Paper CBSE Class 10 Computer Applications (165) — Question 4
Back to all questions 4
Question Question 22(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 :
(I) Text color should be yellow
(II) Font size should be 25 px
(III) Font style should be bold
<HTML>
<HEAD>
</HEAD>
<BODY>
<H1 STYLE = "color: green; text-align: center; ">
My School
</H1>
<P STYLE = "color: yellow; font-size: 25px; font-weight: bold; ">
This is my School <BR>
I study in class 12
</P>
</BODY>
</HTML>