li

object li extends Tag

The <strong>HTML <code><li></code> element</strong> is used to represent an item in a list. It must be contained in a parent element: an ordered list (<a title="The HTML element represents an ordered list of items, typically rendered as a numbered list." href="/en-US/docs/Web/HTML/Element/ol"><code><ol></code></a>), an unordered list (<a title="The HTML element represents an unordered list of items, typically rendered as a bulleted list." href="/en-US/docs/Web/HTML/Element/ul"><code><ul></code></a>), or a menu (<a title="The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked." href="/en-US/docs/Web/HTML/Element/menu"><code><menu></code></a>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.

trait Tag
class Object
trait Matchable
class Any

Type members

Classlikes

object tag extends TagElement

Types

type tagType = tag

Value members

Concrete methods

@inline
def apply(mods: TagMod[tag]*): WithAttrs[tagType]