Das HTML-Element <li>
Bedeutung:
Definiert ein Listenelement
Beispiel:
Download html5-tag_li.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | <ol> <li>Mehl</li> <li>Zucker</li> <li>Backpulver</li> </ol> <ul> <li>Mehl</li> <li>Zucker</li> <li>Backpulver</li> </ul> <menu> <li><input type="checkbox" />Wasser</li> <li><input type="checkbox" />Milch</li> </menu> |
Auswirkung:
- Mehl
- Zucker
- Backpulver
- Mehl
- Zucker
- Backpulver
Attribute:
Name | Wert | Beschreibung |
---|---|---|
value | Zahl | Legt die startzahl des ersten Listenelementes fest. Dieses Attribut ist nur bei geordneten Listen ‚ol‘ zu setzen. |