Profsr Home
Registration
Tutorials Area
CONTENTS
Lesson 1 Preparation
Lesson 2 The Stylesheet
Lesson 3 Basic Tags
Lesson 4 Tables
Lesson 5 Lists
Lesson 6 Java
|
Profsr.com
Simple HTML Tutorial
Making a list, and checking it twice ...
A lot of people don't know how to use lists properly. The advantages of using lists:
- You can't set tab stops in HTML; there are several ways to indent stuff
but the List is one of the easiest
- You can number the items automatically, as this list does, with the <OL> tag
- You can even have lists within lists
- It keeps track of the numbering for you
- If you move something within the list, it renumbers automatically
- If you don't want the numbering, use an Unordered list <UL>:
- This is an Unordered list with bullets instead of numbers
- It also indents automatically
- If you don't want numbers or bullets:
- You can use a Definition list, <DL>
- In a DL some items may be indented, and some may not be
- The <DD> tag is used to indent
- The <DT> tag is used for no-indent
- Lists are easy to read and make your point clearer.
Here is the code for the lists above:
|