-
Which attribute is only used with <ol>?
-
- start
- value
- type
- compact
- None of these
Correct Option: A
The number attribute is only used with <ol>. The starting number of the first item in an ordered list is specified by this attribute. The default number for starting is ‘1’. The corresponding labels can be non numeric even its value is set to numeric. The “start” and “type” attribute are removed from HTML4.01 but can be still used in HTML5 where as “compact” attribute is not used in HTML5.