Computer Applications
Yamini is the class coordinator of a school. She has to prepare a table of the names of students, class and the subjects they are good at. Help Yamini to generate the code for displaying this table.
| Roll_No | Name | Class | Subject |
|---|---|---|---|
| 1 | Neha | Vth | Maths |
| 2 | Amit | 10th | English |
| 3 | Sneha | IIIrd | G.K. |
HTML Advanced Features
2 Likes
Answer
HTML code to generate the table is given below:
<TABLE border = "Z">
<TR align = "center">
<TH> Roll_No </TH>
<TH> Name </TH>
<TH> Class </TH>
<TH>Subject </TH>
</TR>
<TR align = "center">
<TD> 1 </TD>
<TD> Neha </TD>
<TD> Vth </TD>
<TD> Maths </TD>
</TR>
<TR align= "center">
<TD> 2 </TD>
<TD> Amit </TD>
<TD> 10th </TD>
<TD> English </TD>
</TR>
<TR align= "center" valign = "middle">
<TD> 3 </TD>
<TD> Sneha </TD>
<TD> IIIrd </TD>
<TD> G.K.</TD>
</TR>
</TABLE>
Answered By
1 Like
Related Questions
What are HTML forms? Mention its three attributes.
Define the following CSS attributes:
(i) outline
(ii) padding
(iii) float
Write the HTML code to generate the web page as shown below, considering the specifications that follow. You can write the code for given specifications.

(i) Active link color is Green and Visiting link color is Red.
(ii) Image is from the file "computer.jpg".
(iii) Use horizontal rule wherever required.
(iv) Use ordered and unordered lists wherever required.
(v) The pages are linked as follows:
Page Link Super Computers Super.html Mainframe Computers Main.html Mini Computers Mini.html Micro Computers Micro.html Desktops Desk.html Laptops Laptop.html PDA PDA.html Note: You can use any other attributes that are not mentioned above to produce a similar output.
Write the HTML code to generate the web page as shown below, considering the specifications that follow. You can write the code for given specifications.

(i) Title of the page is "Indian Food".
(ii) Font face of heading is "arial".
(iii) Image used as food1.jpg.
(iv) Table border is 4px and border color is maroon.
(v) Use link as
For Available Food as F1.html
For Dishes Price as F2.html
For Get Recipes as F3.html