CBSE Class 10 Computer Applications
Question 26 of 31
Sample Question Paper — Question 4
Back to all questions 4
Question Question 22(ii)
a. Write an external CSS code snippet to set the colour of the web page as pink.
b. Write an inline CSS code to set the Font size for a paragraph as 15.
a. An external CSS code snippet to set the colour of the web page as pink is as follows:
body
{
background-color: pink;
}
b. An inline CSS code to set the Font size for a paragraph as 15 is as follows:
<P style="font-size: 15px;"> ...content... </P>