Saturday, July 15, 2017

HSC ICT (Chapter-04, Lecture-13)

28) Nested Order List
One ordered list might contain one or more ordered list that is called as Nested Order lists.
Example: An HTML document nested.html shows the use of Nested Order Lists with attributes.
<HTML>
<HEAD>
<TITLE> Example Nested Ordered Lists</TITLE>
</HEAD>
<BODY>
<OL TYPE = A >
<LI> Programming Language
<OL TYPE = I>
<LI> COBOL
<LI> C
<LI> Java
<LI> C++
</OL>
<LI> Operating Systems
<OL TYPE = i>
<LI> Windows
<LI> Linux
<LI> Unix
</OL>
</OL>
</BODY>
</HTML>
                                                   Figure : Nested Ordered Lists with attributes

29) Unordered List <UL>
Unordered List also called as bulleted list, used to present list of items marked with bullets. An unordered list starts with in <UL> followed by <LI> (List Item) tag to delimit each individual list item. Use of <UL> is very similar to <OL> (ordered list).
The following is an example of Unordered List and Various Attributes
<HTML>
<HEAD>
<TITLE> Use of Unordered List </TITLE>
</HEAD>
<BODY>
<UL>
<LI> FRUITS
<UL>
<LI> Apple
<LI> Orange
<LI> Mango
</UL>
<LI> VEGETABLE
<UL>
<LI> Brinjal
<LI> Potato
<LI> Tomato
</UL>
</UL>
</BODY> </HTML>
When you display the page in a browser it will produce like the following figure which Displaying Unordered Lists in browser
                                                                    Figure : Unordered Lists
Share:

0 comments:

Post a Comment

Recent Posts

Unordered List

  • Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  • Aliquam tincidunt mauris eu risus.
  • Vestibulum auctor dapibus neque.

Pages

Theme Support

Need our help to upload or customize this blogger template? Contact me with details about the theme customization you need.