An incomplete CSS code within <head> . . . </head> is given below. Complete this code by filling in the blanks as per the specifications that follow. <head> <style> body {__________ : __________ ; } <!--line 1 --> P { __________: __________ ; <!--line 2 --> __________: __________ ; <!--line 3 --> } __________ <!--line 4 --> { Color : Blue; } </style> </head> (i) Line 1 : Page background color should be Yellow. (ii) Line 2 : Color of the paragraph text should be Red. (iii) Line 3 : Font family of the paragraph text should be Arial. (iv) Line 4 : The second biggest heading should be Blue in color.
Write a CSS code to display the first level heading text as My School in Green color and center-aligned.
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
Write the equivalent CSS code to set the following styles : (i) Entire page background color should be orange. (ii) First level heading properties : Color should be green Left margin should be 30 px
Write CSS code to : (i) Display the second level heading text as My Web Page in orange color and center aligned. (ii) Display the following paragraph below the above mentioned heading : This is my web page Designed using Inline CSS coding style The properties of the paragraph content should be as follows : (I) Text color should be cyan (II) Font size should be 20 px (III) Font style should be italic
Write the CSS code to set the following properties of the paragraph element, <p> : Text Alignment – Centre Text Colour – Red
© 2026 PadhAiPro. This question is provided for educational purposes.