Loading...
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 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 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
Sonal has been given an incomplete HTML code. Help her to complete the code by filling in the blanks as per the mentioned specifications : <html> <head> <style> p{ __________: Green; /* Line 1 */ __________: 12px; /* Line 2 */ __________: center; /* Line 3 */ color:yellow; } __________ { /* Line 4 */ width:50% } </style> </head> <body> <p> Saving the environment is crucial for a healthier Earth </p> <hr> </body> </html> (i) Line 1 : The background color of the paragraph should be Green. (ii) Line 2 : The font size of the paragraph text should be 12. (iii) Line 3 : The alignment of the paragraph text should be center. (iv) Line 4 : The width of the horizontal ruler should be 50%.
© 2026 PadhAiPro. This question is provided for educational purposes.