This article is the September contest winner. The author provides a basic tutorial of HTML, with code samples illustrating headings, lists, background colors, using the Frame tag and more.
Lists represents sequential placement of items or text. There are two types of lists in HTML. They are as follows
• Ordered List • Unordered List
Ordered Lists are represented by <OL> tag and is numbered, and Unordered Lists are represented by <UL> tag and appear as bullets. Try out the code given below:
Listing 5
<OL> <LI>Java <LI>C++ </OL>
The above set of code produces an ordered list of languages. If you want these to appear in bullets, then you have to change only the <OL> tag to <UL> tag as shown below:
Listing 6
<UL> <LI>Java <LI>C++ </UL>
Applying Definition Lists
Definition Lists are similar to glossary lists. They are applied using the tags <DL> and <DT> as shown below in Listing 7.
Listing 7
<DL> <DT>Java <DD>Developed by Sun Microsystems Inc <DT>C-Sharp <DD>Developed by Microsoft Inc </DL>