�HTML – LISTS ��
Amity School of Engineering & Technology
�HTML – LISTS ��
HTML offers web authors three ways for specifying lists of information. All lists must contain one or more list elements. Lists may contain:
Amity School of Engineering & Technology
�HTML Unordered Lists
An unordered list is a collection of related items that have no special order or sequence. This list is created by using HTML <ul> tag. Each item in the list is marked with a bullet.
Amity School of Engineering & Technology
�The type Attribute
You can use type attribute for <ul> tag to specify the type of bullet you like. By default, it is a disc. Following are the possible options:
Following is an example where we used <ul type="square">
Amity School of Engineering & Technology
�HTML Ordered Lists
If you are required to put your items in a numbered list instead of bulleted, then HTML ordered list will be used. This list is created by using <ol> tag. The numbering starts at one and is incremented by one for each successive ordered list element tagged with <li>.
Amity School of Engineering & Technology
The type Attribute
You can use type attribute for <ol> tag to specify the type of numbering you like. By default, it is a number. Following are the possible options:
Amity School of Engineering & Technology
Following is an example where we used <ol type="1">
Amity School of Engineering & Technology
Following is an example where we used <ol type="I">
Amity School of Engineering & Technology
�The start Attribute
You can use start attribute for <ol> tag to specify the starting point of numbering you need. Following are the possible options:
Amity School of Engineering & Technology
Following is an example where we used <ol type="i" start="4" >
Amity School of Engineering & Technology
�HTML Definition Lists
Definition List makes use of following three tags.
Amity School of Engineering & Technology
Amity School of Engineering & Technology
Thanks
Amity School of Engineering & Technology