concept
Marker box — CSS reference
A list item generates a marker box with a restricted set of applicable properties. The marker can show a bullet, number or custom text. It is not a normal child element, and properties such as ordinary box padding do not apply as to a normal span.
Formal Syntax & Structure
css syntaxcss
li::marker { content: "Note: "; }Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>Marker box</title><style>body{margin:0}#a{padding:8px;background:rgb(232,237,241);color:rgb(0,0,0);box-sizing:border-box}body{font:16px/1.5 sans-serif}#a{margin:16px;padding:8px 8px 8px 80px;background:white}li{padding-left:4px}li::marker{content:"Note: ";color:rgb(0,0,128)}</style><body><ol id="a"><li>ONE</li><li>TWO</li><li>THREE</li></ol></body></html>