Skip to content

Commit 8826f07

Browse files
authored
Update article.md
"**and** more attributes...
1 parent 676ffb7 commit 8826f07

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
@@ -307,7 +307,7 @@ Because an attribute is more convenient to manage. The state can be changed as e
307307
div.setAttribute('order-state', 'canceled');
308308
```
309309

310-
But there may be a possible problem with custom attributes. What if we use a non-standard attribute for our purposes and later the standard introduces it and makes it do something? The HTML language is alive, it grows, more attributes appear to suit the needs of developers. There may be unexpected effects in such case.
310+
But there may be a possible problem with custom attributes. What if we use a non-standard attribute for our purposes and later the standard introduces it and makes it do something? The HTML language is alive, it grows, and more attributes appear to suit the needs of developers. There may be unexpected effects in such case.
311311

312312
To avoid conflicts, there exist [data-*](https://html.spec.whatwg.org/#embedding-custom-non-visible-data-with-the-data-*-attributes) attributes.
313313

0 commit comments

Comments
 (0)