Skip to content

Commit e83b8d0

Browse files
authored
Update article.md
1 parent c14f6bb commit e83b8d0

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/1-document/06-dom-attributes-and-properties

1 file changed

+1
-1
lines changed

2-ui/1-document/06-dom-attributes-and-properties/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -385,4 +385,4 @@ Methods to work with attributes are:
385385
For most needs, DOM properties can serve us well. We should refer to attributes only when DOM properties do not suit us, when we need exactly attributes, for instance:
386386

387387
- We need a non-standard attribute. But if it starts with `data-`, then we should use `dataset`.
388-
- We want to read the value "as written" in HTML. The value of the DOM property may be different, for instance `href` property is always a full URL, and we may want to get the "original" value.
388+
- We want to read the value "as written" in HTML. The value of the DOM property may be different, for instance the `href` property is always a full URL, and we may want to get the "original" value.

0 commit comments

Comments
 (0)