Write the HTML code to design the web page as shown below, considering the specifications given below. Students can write code for any 4 specifications out of the given 5 specifications.
Specification-1: The HTML code structure should be proper. Heading ‘HTML TABLE’ should be the first level of heading and the Background color of the page should be Light Cyan.
Specification-2: The value of the table border attribute should be 1. Table header tag should be used wherever required.
Specification-3: The table should exactly contain 4 rows and 4 columns. The data in each cell should be as shown in the above table.
Specification-4: Attribute rowspan should be used wherever required.
Specification-5: Attribute colspan should be used wherever required.
Answer
HTML TABLE
Roll Number | First Name | Last Name | Class |
---|---|---|---|
1 | FN1 | LN1 | 12th |
2 | FN2 | LN2 | 11th |
3 | FN3 LN3 |