Loading...
Which of the following attributes is not a valid attribute of the <body> tag in HTML ?
Write the HTML code to set the background color of the web page as blue.
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.
Differentiate between bgcolor and background attributes of <body> tag. Write one HTML statement explaining the use of each attribute.
Write the HTML code to design the web page as shown below, considering the specifications that follow. You can write the code for any four specifications out of the given six specifications. Doorstep Medicines We are happy to deliver all your medicine requirements at your doorstep. Special discount offers from (1st May, 2022 to 30th June, 2022). We also supply the following : • Toilet accessories • Blood Pressure monitor • Blood Glucose monitor Free Home delivery within 5 km distance. Phone : 9999999999 Write the HTML code to design the above shown web page, considering the specifications as given below : • The background color of the page should be green, the text for the page should be in white color. • Heading 'Doorstep Medicines' should be the first level of heading. • The image named 'medi.png' should be placed in the web page. • Font size for the paragraph and the list of products should be 6, and Font Face should be Helvetica, Superscript tags should be used wherever required. • The products (as shown in the above web page) should be written with the help of the unordered list. • The bottom-most lines of 'Free home delivery ...' and 'Phone :....' should be bold.
© 2026 PadhAiPro. This question is provided for educational purposes.