Thursday 27 June 2013

CREATING LISTS

08:40 By Unknown 1 comment

HTML support several types of lists elements that are include within the BODY tag of the documents. These elements may be nested, i.e., one set of elements may be embedded within another set of elements.

List item <LI> Tag

A list item tag <LI> is used to defined each item of a list.
This tag is an empty tag i.e., it has an ON tag but does not required an OFF tag. Once the items are defined using the <LI> tag the list (by default) appears in bullet form in the web browser.
Let us type the following HTML code to see how the <LI tag works. The output  of the code is shown.




Unordered List <UL> Tag

An unordered list is used for items in which the ordering is not specific.
The list items are defined using the <UL> and</UL> tags.

Each item in the unordered list is defined using the <LI> tag. The bullet style can be added to the list items by
<UL TYPE = 'CIRCLE' / 'DISC' / 'SQUARE'>

where, circle specifies a hollow bullet; disc specifies a solid round bullet; and square specifies a square bullet. An unordered list is also called a bulleted list.
The following HTML code will explain the working of the <UL> tag. The output is shown.....

Ordered List <OL> Tag

An ordered list defines a list of items in which the order of items is taken into account. The list items are enclosed by <OL> and </OL> tags. The ordering here is rendered bya numbering scheme, using Arabic numbers, letters or Roman numerals. An ordered list is also called a numbered list.

The numbering scheme can be applied by
<OL START = 'Value' TYPE = 'A' / 'a '/ 'i' / 'I' / '1'>
where 'Value' specifies the first number is the list; and 'A', 'a', 'i', 'I', '1' specify the type of numbering to be used for the list items.

The following HTML code will explain the working of the <OL> tag. The output is shown.....


Defiinition List <UL> Tag

The definition list tag is used to built a list of items, where each item has some block of text acting as a definition. The tags used for creating a definition list are:
<DL> - Definition List
<DT> - Definition List Term
<DD> - Definition List Description

The following HTML  code will make the working of definition list tag clear. The output of the code is shown .......

..







1 comments:

  1. Are you willing to know who your spouse really is, if your spouse is cheating just contact cybergoldenhacker he is good at hacking into cell phones,changing school grades and many more this great hacker has also worked for me and i got results of spouse whats-app messages,call logs, text messages, viber,kik, Facebook, emails. deleted text messages and many more this hacker is very fast cheap and affordable he has never disappointed me for once contact him if you have any form of hacking problem am sure he will help you THANK YOU.
    contact: cybergoldenhacker at gmail dot com

    ReplyDelete