property-value
display/list-item — CSS reference
Generates a principal list-item box and normally a marker box. List-style properties control the marker. Prefer semantic ol/ul/li markup for actual lists; display alone does not establish list semantics in HTML.
Formal Syntax & Structure
css syntaxcss
display: list-item;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS flow layout lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}body{font:16px/20px sans-serif} #p{width:240px;background:#e6eef2} .tile{background:#c2e4d5} #a,#b{box-sizing:content-box}#p{padding-left:30px}#a{display:list-item;list-style-type:square}#b{display:block}</style><body><div id="p"><div class="tile" id="a">First</div><div class="tile" id="b">Second</div></div></body></html>