data-type
<ident> — CSS reference
An identifier is a CSS name token. Unescaped names may start with a letter, underscore, non-ASCII character or a permitted hyphen sequence; digits can follow but cannot start an ordinary identifier. Escapes allow other characters. Identifier syntax alone does not make a token valid for every property.
Formal Syntax & Structure
css syntaxcss
<ident> /* e.g. panel, --accent */Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS reference lab</title><style>#a {display:block} #b {display:inline}</style><body><div id="parent"><div id="a">Sample</div><div id="b">Comparison</div></div></body></html>