Can a list be an element?
Ngày đăng:
06/01/2022
Trả lời:
0
Lượt xem:
201
The HTML element is used to represent an item in a list. It must be contained in a parent element: an ordered list (
AttributesThis element includes the global attributes. This integer attribute indicates the current ordinal value of the list item as defined by the
This character attribute indicates the numbering type: This type overrides the one used by its parent
Note: This attribute has been deprecated; use the CSS list-style-type property instead. ExamplesFor more detailed examples, see the
Ordered list<ol>
<li>first itemli>
<li>second itemli>
<li>third itemli>
ol>
Ordered list with a custom value<ol type="I">
<li value="3">third itemli>
<li>fourth itemli>
<li>fifth itemli>
ol>
Unordered list<ul>
<li>first itemli>
<li>second itemli>
<li>third itemli>
ul>
Specifications
Browser compatibilityBCD tables only load in the browser See also
|