Lists and tables

 Lists

ul: unordered list

li: list items

ol: ordered list


for unordered list, use <ul> </ul>


output:



For ordered list: use <ol> </ol>

  • automatic numberiing
  • numbers change

Nested List


Output:
  • Capital cities
    • Beijing 
    • moscow
    • Madrid
    • Bogota
  • Large cities
    • Sao Paulo
      Neighbourhood
      • Centro
      • Higien
      • jordians
    • karachi
    • mumbai


Tables
table tags are <table>    </table>
<tr> :: table rows
<th> :: table headings
<td> :: table data

<table >
  <tr>
    <th>Firstname     </th>
    <th>Lastname     </th>
    <th>Age           </th>
  </tr>
  <tr>
    <td>Jill</td>
    <td>Smith</td>
    <td>50</td>
  </tr>
  <tr>
    <td>Eve</td>
    <td>Jackson</td>
    <td>94</td>
  </tr>
</table>
    </div>

Firstname   Lastname    Age
Jill                Smith           50
Eve              Jackson         94


<ol type=a start=5>
list starts from 'e'.





Comments

Popular posts from this blog

dart programming

python

flutter