Lesson Plan: Unit - 04 Basic HTML Concepts
Subject: BELE2CFA: Computer Fundamentals And Applications
Topic of Study: List tags and its types
Grade/Level: Bachelor of SCIENCE
Objective: To understand tag and attributes of List tags and its types
35.0 List tags and its types
- List is used to list the options.
- There are two types...
- Unordered List
- Ordered List
- Exa.
- Syntax:
- In this session, we will understand - Ordered, Unordered and List tag.
- Exa.
- Use
- Ordered list tag
- It is used to display ordered list items.
- Unordered list tag
- It is used to display unordered list items.
- List item tag
- It is used with ordered and unordered items.
- It is used to define single list item.
- Attributes
- Ordered list tag
- start: to set starting value in the ordered list.
- Exa. start="10"
- type: to set the type of number in the ordered list.
- Exa. type="1|a|A|i|I"
- Unordered list tag
- type: to set the type of symbol in the unordered list.
- Exa. type="disc|circle|square"
- List item tag
- type : to set the types of list options. It has following values...1,A,a,I,i,disc,square,circle
- 1: Default. Numerical ordered list (1, 2, 3, 4)
- a : Alphabetically ordered list, lowercase (a, b, c, d)
- A : Alphabetically ordered list, uppercase (A, B, C, D)
- i : Roman numbers, lowercase (i, ii, iii, iv)
- I : Roman numbers, uppercase (I, II, III, IV)
- Exa. type="1|a|A|i|I|disc|circle|square"
- value: to set the starting value in ordered list.
- Exa. value="10"
- Example: "Third.html"
- 1. Input & Output
- 2. Input & Output
Tags:
List tags and its types