hloo plzz tell me how to create a table in html ..?
Answers
Answered by
3
hloo dear...!!
Use the HTML <tr> element to define a table row.Use the HTML <td> element to define a table data.Use the HTML <th> element to define a table heading.Use the HTML <caption> element to define a table caption.Use the CSS border property to define a border.
hope it helps
Use the HTML <tr> element to define a table row.Use the HTML <td> element to define a table data.Use the HTML <th> element to define a table heading.Use the HTML <caption> element to define a table caption.Use the CSS border property to define a border.
hope it helps
Answered by
6
for creating a table like this
<HTML>
<HEAD>
<TITLE>
<BODY BG COLOR="RED">
<TABLE BG COLOR="OLIVE">
<CAPTION>DAV NATIONAL SPORTS RECORD</CAPTION>
<FONT COLOR="BLUE" SIZE="6" FACE="MONOTYPE CORSIVA">
<TH>NAME OF PARTICIPANTS
<TH>POISITION
<TH>MEDAL RECEIVED
<TH>EVENT
</TH>
<TD>MAYANK KUMAR
<TD>1
<TD>GOLD
<TD>CHESS
</TD>
<TD>SUSHMITA ROY
<TD>2
<TD>SILVER
<TD>CHESS
</TD>
<TD>NEHA SHARMA
<TD>3
<TD>BRONZE
<TD>CHESS
</TD>
</TABLE>
</FONT>
</BODY>
</HTML>
<HTML>
<HEAD>
<TITLE>
<BODY BG COLOR="RED">
<TABLE BG COLOR="OLIVE">
<CAPTION>DAV NATIONAL SPORTS RECORD</CAPTION>
<FONT COLOR="BLUE" SIZE="6" FACE="MONOTYPE CORSIVA">
<TH>NAME OF PARTICIPANTS
<TH>POISITION
<TH>MEDAL RECEIVED
<TH>EVENT
</TH>
<TD>MAYANK KUMAR
<TD>1
<TD>GOLD
<TD>CHESS
</TD>
<TD>SUSHMITA ROY
<TD>2
<TD>SILVER
<TD>CHESS
</TD>
<TD>NEHA SHARMA
<TD>3
<TD>BRONZE
<TD>CHESS
</TD>
</TABLE>
</FONT>
</BODY>
</HTML>
siddhartharao77:
Mayank I think the code needs to be re corrected.
Similar questions