UL Tag HTML

UL TAG- This type of list are bulleted list and these are marked by tag <UL> and </UL> and <li> to write list items.

<HTML>
<HEAD>
<TITLE>
Title of the document
</TITLE>
</HEAD>
<BODY>
<UL>
<li> Apple
<li> Mango
<li> Banana
</UL>
</BODY>
</HTML>


Output:
Attributes of UL Tag

Type- By using this attribute of <UL> tag we can specify the type of unordered list. By using following values.
  • Disc
  • Circle
  • Square
<HTML>
<HEAD>
<TITLE>
Title of the document
</TITLE>
</HEAD>
<BODY>
<UL type="disc">
<li> Apple
<li> Mango
<li> Banana
</UL>
<UL type="Circle">
<li> Apple
<li> Mango
<li> Banana
</UL>
<UL type="Square">
<li> Apple
<li> Mango
<li> Banana
</UL>
</BODY>
</HTML>

Output:
UNIT-205
HTML Fundamentals
  1. Introduction to HTML
  2. HTML document structure
  3. Creating an HTML document
  4. Containers and empty elements
HTML Elements
  1. HTML, HEAD, TITLE, BODY
  2. Attributes of Body Element: Background, Bgcolor, Text, Link, Alink, Vlink, Leftmargin, Topmargin
  3. FONT (Attributes of FONT Element: Color, Size, Face)
  4. IMG (Attributes of IMG Element: Src, Width, Height, Alt, Align)
  5. BASEFONT (Attributes of BASEFONT Element: Color, Size, Face)
  6. CENTER, BR
  7. HR (Attributes of HR Element: Width, Align, Noshade, Color, Size, Face)
  8. H1-H6 (Heading Elements)
  9. P (Paragraph), B (Bold), I (Italics), U (Underline)
  10. UL (Unordered List) Attributes of UL: Type 
  11. OL (Ordered List) Attributes of OL: Type, Start
  12. Linking Internal and External Linking
  13. A (Anchor) Attributes of A Element: Href, Title, Name, Alt
  14. TABLE (Attributes of TABLE Element: Td, Th, Tr)