Lesson 6 - Tables

TABLES - SECTION 2

    You could also list down all of your information so as it is much more pleasing to the eye. There are 2 types of lists, ordered and unordered. We will take a look at the ordered lists first, represented by the <ol>&/ol> tags, here's an example :

<ol>
<li>Lesson 1
<li>Lesson 2
<li>Lesson 3
</ol>


    This is what you should get :

  1. Lesson 1
  2. Lesson 2
  3. Lesson 3

    You could change the numbers from 1,2,3... to a,b,... or A,B,... or i,ii,... just by changing the <ol type> with either 'A', 'a', 'I', 'i' and '1', like this :

<ol type=i>
<li>Lesson 1
<li>Lesson 2
<li type=a>Lesson 3
<li>Lesson 4
</ol>


    This is what you should get :

  1. Lesson 1
  2. Lesson 2
  3. Lesson 3
  4. Lesson 4

    As for unordered lists, represented with the <ul></ul> tags. The numbers in the ordered lists are replaced with symbols, for example :

<ul>
<li>Lesson 1
<li>Lesson 2
<li>Lesson 3
<li>Lesson 4
</ul>


    This is what you will get :

    And just like in the ordered lists, the symbols could be changed from the regular disc into circles or squares just by changing the <ul type> tag, like this :

<ul type=disc>
<li>Lesson 1
<li type=circle>Lesson 2
<li type=square>Lesson 3
<li type=disc>Lesson 4
</ul>


    This is what you will get :

    That's all for this section, continue with Section 1. Click here to get to Lesson 7 : JAVA Applets.


This Page Is Published And Maintained By Wong Kuan Yew
Copyright © 2000 Wong Kuan Yew. All Rights Reserved.
Last Updated: