data-type

<display-listitem> — CSS reference

The list-item grammar combines an optional outer display role and flow or flow-root with list-item. It generates a marker in addition to the principal box.

Formal Syntax & Structure

css syntaxcss
display: list-item;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>&lt;display-listitem&gt;</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{display:list-item}</style><body><div id="a">Item</div></body></html>
CSS Reference