Thursday 2 June 2016

Write a HTML code to generate following output.

<html>
<title>table 4</title>
<body>
<table border="3" cellpadding="3" width="50">
<caption>
<b>Player Details</b></caption>
<tr>
<th bgcolor="red">ID</th>
<th>Player</th>
<th>Photo</th>
<th>Details</th>
</tr>
<tr>
<td bgcolor="red">001</td>
<td>Sachin</td>
<td><img src="sachin.jpg" alt="sachin tendulkar" width="80" height="80" class="style3"></td>
<td><pre>
<span class="style3"> DOB</span> <span class="style3"> DOJ</span> <span class="style3"> Address</span>
15-03-1983 01-01-2009 D-26,sector 62.Noida</b></pre></td>
</tr>
<tr>
<td bgcolor="red">002</td>
<td>Zaheer</td>
<td><img src="zaheer.jpg" height="80" width="80"></td>
<td>
<center><table border="1" width="600" cellpadding="0">
<tr>
<th>DOB</th>
<th>DOJ</th>
<th>Address</th>
</tr>
<tr>
<td><center>19-12-1980</center></td>
<td><center>25-08-2009</center></td>
<td><center>H no. 405,vijay nagar,Ghaziabad</center></td>
</tr>
</center></table>
<tr>
<td bgcolor="red">003</td>
<td>Gautam</td>
<td><img src="gautam.jpg" height="80" width="80"></td>
<td><pre>
<span class="style3"> DOB</span> <span class="style3"> DOJ</span> <span class="style3"> Address</span>
25-11-1970 11-11-2006 H no. 123,South Ext.Delhi</b></pre></td>
</tr></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