Loading...
Write the HTML code to create a link to the web page having URL as : www.festivals.com/india/diwali.html The mentioned web page should get opened in a new window/tab on clicking the text, 'FESTIVALS'.
Write HTML code to display the following line of text in bold and italics. Happiness is not by chance, but by choice.
Write the HTML code to set the background color of the web page as blue.
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.
The following HTML code is expected to create an ordered list for a web page : <html> <body __________ : yellow> <!-- line 1 --> <p> <font __________= Helvetica> <!-- line 2 --> FESTIVALS OF INDIA </p> <__________> <!-- line 3 --> <__________>HOLI <__________> <!-- line 4 --> <__________>DIWALI <__________> <!-- line 5 --> <__________> <!-- line 6 --> Complete this code by filling in the blanks as per the specifications that follow : (i) Line 1 : Background color of the web page should be Yellow. (ii) Line 2 : Font for the paragraph should be Helvetica. (iii) Line 3 and Line 6 : An ordered list should start and end. (iv) Line 4 and Line 5 : Listing of the ordered list items.
The following HTML statements are not written properly. Re-write the correct statements with underlined corrections. The desired purpose of each statement is mentioned under it.
© 2026 PadhAiPro. This question is provided for educational purposes.