Thursday 2 June 2016

Write a HTML code to create the following table in HTML with Dummy Data.

<html>
<title>prr3</title>
<body><center>
<table border="2" cellpadding="12">
<tr><b>
<td rowspan="2" bgcolor="green"><center>Name<br> of<br> Train</center></td>
<td rowspan="2" bgcolor="green"><center>Place</center></td>
<td rowspan="2" bgcolor="green"><center>Destination</center></td>
<td rowspan="2" bgcolor="green"><center>Train<br> No</center></td>
<td colspan="2" bgcolor="green"><center>Time</center></td>
<td colspan="3" bgcolor="green"><center>Fair</center></td>
</tr>
<tr>
<td bgcolor="yellow"><center>Arrival</center></td>
<td bgcolor="yellow"><center>Departure</center></td>
<td bgcolor="green"><center><font color="red">AC</font></center></td>
<td bgcolor="green"><center><font color="red">sleeper</font></center></td>
<td bgcolor="green"><center><font color="red">General</font></center></td>
</tr>
<tr>
<td>Rajdhani Express</td>
<td>Jodhpur</td>
<td>Barmer</td>
<td>T125</td>
<td>5.00AM</td>
<td>7.00AM</td>
<td>500 Rs.</td>
<td>200 Rs.</td>
<td>100 Rs.</td>
</tr>
</tr>
<tr>
<td>Rajdhani Express</td>
<td>Jodhpur</td>
<td>Barmer</td>
<td>T125</td>
<td>5.00AM</td>
<td>7.00AM</td>
<td>500 Rs.</td>
<td>200 Rs.</td>
<td>100 Rs.</td>
</tr>
</tr>
<tr>
<td>Rajdhani Express</td>
<td>Jodhpur</td>
<td>Barmer</td>
<td>T125</td>
<td>5.00AM</td>
<td>7.00AM</td>
<td>500 Rs.</td>
<td>200 Rs.</td>
<td>100 Rs.</td>
</tr>
</tr>
<tr>
<td>Rajdhani Express</td>
<td>Jodhpur</td>
<td>Barmer</td>
<td>T125</td>
<td>5.00AM</td>
<td>7.00AM</td>
<td>500 Rs.</td>
<td>200 Rs.</td>
<td>100 Rs.</td>
</tr>
</tr>
<tr>
<td>Rajdhani Express</td>
<td>Jodhpur</td>
<td>Barmer</td>
<td>T125</td>
<td>5.00AM</td>
<td>7.00AM</td>
<td>500 Rs.</td>
<td>200 Rs.</td>
<td>100 Rs.</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr></center></table></body></html>


Bharat

Author & Editor

A mint of creativity Design, Development, Marketing.Crafting visually stunning memorable experiences for web and interfaces.Design solutions for any media, are web designer

0 comments:

Post a Comment