Skip to content

Commit

Permalink
Update files/en-us/web/css/attr/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Mills <[email protected]>
  • Loading branch information
bramus and chrisdavidmills authored Jan 14, 2025
1 parent 7bb60ab commit 21e39d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/css/attr/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ The return value of `attr()` is the value of the HTML attribute whose name is `<

When an `<attr-type>` is set, `attr()` will try to parse the attribute into that specified `<attr-type>` and return it. If the attribute cannot be parsed into the given `<attr-type>`, the `<fallback-value>` will be returned instead. When no `<attr-type>` is set, the attribute will be parsed into a CSS string.

If no `<fallback-value>` is set, CSS will default to an empty string when no `<attr-type>` is set or the [guaranteed-invalid value](/en-US/docs/Glossary/guaranteed_invalid_value) when an `<attr-type>` is set.
If no `<fallback-value>` is set, the return value will default to an empty string when no `<attr-type>` is set or the [guaranteed-invalid value](/en-US/docs/Glossary/guaranteed_invalid_value) when an `<attr-type>` is set.

## Description

Expand Down

0 comments on commit 21e39d7

Please sign in to comment.