Thursday, 21 July 2016

WRITE A CODE FOR FOLLOWING

● Coffee
● Tea
     ■ Black Tea
     ■ Green Tea
          1] Africa
          2] China 
● Milk


<html>
<head>
<title> Beverages</title>
</head>
<body>
List Of Beverages
<ul type="disc">
     <li> Coffee</li>
     <li> Tea</li>
         <ul type="square">
            <li>Black tea</li>
  <li> Green Tea</li>
                 <ol type=1 start=1>
<li> Africa</li>
       <li> China</li>
</ol>
      </ul>
    <li> Milk</li>
</ul>
</body>
</html>

WRITE HTML5 CODE FOR FOLLOWING TABLE IN THE IMAGE



<html>
<head>
<title> Population of different countries </title>
</head>
<body>
<table border=4 cellspacing=5>
<tr>
   <th> Countries </th>
   <th colspan=2> Population (In Crores) </th>
</tr>
<tr>
  <th rowspan=3> India </th>
  <td> 1998</td>
  <td> 85</td>
</tr>
<tr>
  <td> 1999</td>
  <td> 90</td>
</tr>
<tr>
  <td> 2000</td>
  <td> 100</td>
</tr>
<tr>
  <th rowspan=3> USA</th>
  <td> 1998</td>
  <td> 30</td>
</tr>
<tr>
  <td> 1999</td>
  <td> 35</td>
</tr>
<tr>
  <td> 2000</td>
  <td> 40</td>
</tr>
<tr>
  <th rowspan=3> UK</th>
  <td> 1998</td>
  <td> 25</td>
</tr>
<tr>
  <td> 1999</td>
  <td> 30</td>
</tr>
<tr>
  <td> 2000</td>
  <td> 35</td>
</tr>


</body>
</html>