table in html code

<html>
<head>
<title>my table</title>
<head>
<body>
<center>
<table border="2" cellspacing="1" width="400">
 <tr>
  <th rowspan="2">id</th>
  <th colspan="4">Marks</th>
 </tr>
 <tr>
  <td><center>Maths</center></td>
  <td><center>Science</center></td>
  <td><center>Biology</center></td>
  <td><center>Chemistry</center></td>
 </tr>
 <tr>
  <td><center>1</center></td>
  <td><center>89</center></td>
  <td><center>82</center></td>
  <td><center>81</center></td>
  <td><center>78</center></td>
 </tr>
 <tr>
  <td><center>2</center></td>
  <td><center>79</center></td>
  <td><center>72</center></td>
  <td><center>81</center></td>
  <td><center>71</center></td>
 </tr>
 <tr>
  <td><center>3</center></td>
  <td><center>69</center></td>
  <td><center>73</center></td>
  <td><center>68</center></td>
  <td><center>78</center></td>
 </tr>

</table>
</center>
</body>
</html>

Comments

Popular posts from this blog

program that compresses windows BMP image file using java