diff --git a/files/en-us/web/css/attr/index.md b/files/en-us/web/css/attr/index.md index b1191a3bffa774a..80bf578e4129a9e 100644 --- a/files/en-us/web/css/attr/index.md +++ b/files/en-us/web/css/attr/index.md @@ -62,10 +62,15 @@ The parameters are: ```css attr(id type(), none) attr(data-count type(), 0) + ``` + + To accept multiple types, list all allowed ``es in the `type()` function, separated by a `|`. + + ```css attr(data-size type( | ), 0px) ``` - Excluded from this list is {{CSSxRef("<url>")}} for [security reasons](#limitations_and_security). + For [security reasons](#limitations_and_security) {{CSSxRef("<url>")}} is not allowed as a ``. - The `` identifier specifies the unit a numeric value should have (if any). It can be the `%` character (percentage) or a [CSS distance unit](/docs/Web/CSS/CSS_Values_and_Units#distance_units) such as `px`, `rem`, `deg`, `s`, etc.