iTech College - Internet Technology, Online Education, E-Learning, Technician Training, Tech Tutorials, Distance Education, Virtual Learning HTML Course: Lists - www.itechcollege.com HTML Course: Lists - www.itechcollege.com
Free Courses
HTML
JavaScript
CSS
ASP
PHP
JSP
C++
ASP.NET
SQL
AJAX
FTP
XML

courses > HTML > Lists

Lists

There are three kinds of lists in HTML:

Unordered lists <UL></UL>
Ordered lists <OL></OL>
Definition lists <DL></DL>

Unordered Lists

This list starts with an opening list <UL> tag and ends the list with a closing list </UL> tag. Between the <UL> and </UL>, you enter the <LI> (list item) tag followed by the individual item; no closing </LI> tag is needed. For example:

<UL>
<LI> Name </LI>
<LI> Phone </LI>
<LI> ID </LI>
</UL>

In the web browser the above code would appear three elements as:

    • Name
    • Phone
    • ID

Ordered Lists

An orderered list is similar to an unordered list, except it uses <OL> instead of <UL>:

<OL>
<LI>College</LI>
<LI>Hight School</LI>
<LI>Elemantory School</LI>
</OL>

The output is:

    1. College
    2. Hight School
    3. Elemantory School

Definition Lists

A definition list starts with <DL> and ends with </DL>. This list consists of alternating a definition term and a definition definition. The definition term is enclosed in <DT> </DT> and should precede the definition definition. The definition definition is enclosed in <DD> </DD>. So, a whole definition list looks like:

<DL>
<DT> term </DT>
<DD> definition </DD>
...
<DT> term </DT>
<DD> definition </DD>
</DL>



  Back to Index Page
 Next Page:  

Basic Tags
Character Paragraph and Position
Character Style
Lists
Links
Image
Color
Table
Form
Frame


Online Education, Online Training for Your Job, Distance Education, E-learning Programs for Your Career!Online Colleges, Online Universities, E-learning & Distance Education for Your Career! Easy Job Training & Online Courses.


   Email A Friend  
 
Earn Online Degree
for Your Job
I found a job after I earned an online degree!
Online classes for finding a Job. Online College, Online University, Degrees, E-learning school, online certificate Earn your
online degree now!
Online Training
for Good Job
Why I work so hard but earn so little? Why I cannot find a high paying job?
Online training for a Good Jobs. Online Degree, E-learning school, online certificate Go to
online school now!

Copyright ©2024, itechcollege.com. All rights reserved
iTechCollege | About iTech | Contact iTech