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>
</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">
<HEAD>
<TITLE>
Title of the document
</TITLE>
</HEAD>
<BODY>
<UL type="disc">
<li> Apple
<li> Mango
<li> Banana
</UL>
<UL type="Circle">
</HTML>
<li> Apple
<li> Mango
<li> Banana
</UL>
<UL type="Square">
</BODY><li> Apple
<li> Mango
<li> Banana
</UL>
</HTML>
Output:
UNIT-205
HTML Fundamentals
HTML Elements
HTML Fundamentals
HTML Elements
- HTML, HEAD, TITLE, BODY
- Attributes of Body Element: Background, Bgcolor, Text, Link, Alink, Vlink, Leftmargin, Topmargin
- FONT (Attributes of FONT Element: Color, Size, Face)
- IMG (Attributes of IMG Element: Src, Width, Height, Alt, Align)
- BASEFONT (Attributes of BASEFONT Element: Color, Size, Face)
- CENTER, BR
- HR (Attributes of HR Element: Width, Align, Noshade, Color, Size, Face)
- H1-H6 (Heading Elements)
- P (Paragraph), B (Bold), I (Italics), U (Underline)
- UL (Unordered List) Attributes of UL: Type
- OL (Ordered List) Attributes of OL: Type, Start
- Linking Internal and External Linking
- A (Anchor) Attributes of A Element: Href, Title, Name, Alt
- TABLE (Attributes of TABLE Element: Td, Th, Tr)