KnowledgeBoat Logo
|

Computer Applications

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.

CSS

7 Likes

Answer

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>

Answered By

4 Likes


Related Questions