Webmaster
-
Lists & tables

Lists

There are 2 types of lists:
The code for an unordered list is:
<ul>
<li>
item 1</li>
<li>
item 2</li>
<li>
item 3</li>
</ul>


To switch from an unordered list to an ordered list, simply change the "ul" to "ol" in <ul> and </ul>.

To change your unordered list from squares to discs to circles, try <ul style="list-style-type:square/disc/circle"> as in :
To change the symbols numbering your ordered list, try <ul style="list-style-type: ... "> as in:
  1. <ol style="list-style-type:decimal">
  1. <ol style="list-style-type:decimal-leading-zero">
  1. <ol style="list-style-type:lower-roman">
  1. <ol style="list-style-type:upper-roman">
  1. <ol style="list-style-type:lower-alpha">
  1. <ol style="list-style-type:upper-alpha">

There are heaps more if you want numbers in Japanese, Armenian, Russian, and many more.

Tables

You have learnt simple formating for straight text and for images. Now you might like to learn how to arrange your page layout by using tables, altho tables increase your filesize and thus slow your user's download speed.

Making tables: