HTML-Lesson 9-Lists and Lines

Lists and lines fall into a little catogory of their own and although being quite simple, can be quite usful. First i will cover lists.

Lists are basicly, yes you guessed it, lists of information. They are lined up with bullet points or numbers. There are two types of lists. Ordered (with numbers)and unordered(with bullets).

For Ordered lists you should use the following code:

		
<ol>
<li>item one</li>
<li>item two</li>
<li>item three</li>
</ol>
	

This generates a numbered list, which you can use in any way you wish. If you wish to use a unorderd list you should replace the tags <ol></ol> With the code <ul></ul> Simple really.

Lines are so simple you might get bored. Basicly wherever you wish to insert a line you write.<hr /> This will display a horizontal line across that area of your page. You can change the lines colour by simply adding.

<hr color="red" />

The browser will now display a red line.

Lesson 8-forms

Lesson 10-Basic javascript