Developer Forums | About Us | Site Map
Search  
HOME > TUTORIALS > CLIENT SIDE CODING > HTML TUTORIALS > THE BASICS OF HTML


Sponsors





Useful Lists

Web Host
site hosted by netplex

Online Manuals

The Basics of HTML
By Ben Sinclair - 2003-01-04 Page:  1 2 3 4 5 6 7 8 9

List Tags


Here is how you get bullet points next to your words:

Here is an example of bullet points in HTML code:

<ul>
<li>red</li>
<li>blue</li>
<li>pink</li>
<li>green</li>
<li>purple</li>
</ul>

And this is what it looks like on the page:


  • red

  • blue

  • pink

  • green

  • purple



Here is how you make a simple Definition List:

Here is an example of a Definition List in HTML code:

<dl>
<dt>Pavement
<dd>Something used for paths for people to walk on.
<dt>Incredible
<dd>Hard to believe.
<dt>Dangerous
<dd>A possible cause of harm or injury.
</dl>

And this is what it looks like on the page:


Pavement
Something used for paths for people to walk on.
Incredible
Hard to believe.
Dangerous
A possible cause of harm or injury.




Assignment #5


Today's assignment is to create a couple of lists on your page.

On your first list, write 5 of your favourite things down next to 5 bullet points.

On the second, again write your five favourite things, but this time write them in the Definition List format and write why you like them.

Click Here for the answer.


View The Basics of HTML Discussion

Page:  1 2 3 4 5 6 7 8 9 Next Page: Tables


Copyright 2004-2017 GrindingGears.com. All rights reserved.
Article copyright and all rights retained by the author.