1.

Compare the use of Type attribute in Ordered and Unordered list in HTML?

Answer»

1. Unordered List (<UL>) – Items are displayed with square, circle or disc in front.
Eg: <UL TYPE=”circle”>

2. Ordered List (<OL>) – Items are displayed with the following type values.

Type = 1 for 1, 2, 3,

Type = i for i, ii, iii

Type = I for I, II, III

Type = a for a, b, c,

Type = A for A, B, C

Eg: <OLTYPE=”A”>



Discussion

No Comment Found