There are three type of list here,
1). Ordered list
2). Unordered list
3). Definition list
1). Ordered list:-
-> The items in the list have an incremental numeric relationship
to each other.
-> Most browsers display numbers beside the list items, and may
change this to alternative numbering as lists are nested.
style="display:block"
data-ad-client="ca-pub-6804131839581369"
data-ad-slot="6238631535"
data-ad-format="auto">
-> For
ordered lists :-
Value
|
Description
|
1
|
Default.
Numerical ordered list (1, 2, 3, 4)
|
a
|
Alphabetically
ordered list, lowercase (a, b, c, d)
|
A
|
Alphabetically
ordered list, uppercase (A, B, C, D)
|
i
|
Roman
numbers, lowercase (i, ii, iii, iv)
|
I
|
Roman
numbers, uppercase (I, II, III, IV)
|
2). Unordered List:-
-> These are typically thought of as bullet lists.
-> The items in the list have no specific numeric relationship
to each other.
-> Most Browser use a bullet points when displaying list items.
style="display:block"
data-ad-client="ca-pub-6804131839581369"
data-ad-slot="6238631535"
data-ad-format="auto">
-> For
unordered lists:-
Value
|
Description
|
Disc
|
Default.
A filled circle
|
Circle
|
An
unfilled circle
|
square
|
A
filled square
|
3). Definition List:-
-> This contain series of terms and definitions, and would
typically be used in a glossary.
-> The OL, UL and DL elements are block elements.
-> The LI and DD elements they contain may either hold text
directly, inline elements, or block elements.
-> The closing tag optional for the LI and DD tags, but as
always, I recommend you include it anyway.
-> For Example,
-> Output:-
No comments:
Post a Comment