Thursday, 21 July 2016

TYPE THE SAMPLE HTML5 PROGRAM USING TABLES NAMED "TABLE ON LIST OF BOOKS". MODIFY IT TO Rs and PAISE COLUMN AND SPECIFY PRICE AT 500.5

ORIGINAL TABLE

<html>
<head>
<title> Table On list of Books</title>
<html>
<head>
<title> Table On list of Books</title>
</head>
<body>
<caption>List Of Books</caption>
<table border=4 cellspacing=4>
   <tr>
          <th rowspan=2>Item no  </th>
          <th rowspan=2> Item Name </th>
 <th colspan=2> Price </th>
  </tr>
  <tr>
     <th> Rs </th>
 <th> p </th>
 </tr>
<tr>
         <td> 1</td>
         <td> Programming in c++</td>
         <td> 500</td>
         <td> 50</td>
</tr>
<tr>
         <td> 2</td>
         <td> Programming in java</td>
         <td> 345</td>
         <td>00 </td>
</tr>

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


MODIFIED TABLE


</head>
<body>
<caption>List Of Books</caption>
<table border=4 cellspacing=4>
   <tr>
          <th rowspan=2>Item no  </th>
          <th rowspan=2> Item Name </th>
          <th> Price </th>
  </tr>

<tr>
         <td> 1</td>
         <td> Programming in c++</td>
         <td> 500.50</td>
       
</tr>
<tr>
         <td> 2</td>
         <td> Programming in java</td>
         <td> 345.00</td>
       
</tr>

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

No comments:

Post a Comment