Skip to content

Commit a86e220

Browse files
authored
Update article.md
1 parent 9dd4746 commit a86e220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/1-document/02-dom-nodes/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ drawHtmlTree(node6, 'div.domtree', 690, 500);
176176
177177
Here we see a new tree node type -- *comment node*, labeled as `#comment`.
178178
179-
We may think -- why a comment is added to the DOM? It doesn't affect the visual representation in any way. But there's a rule -- if something's in HTML, then it also must be in the DOM tree.
179+
We may think -- why is a comment added to the DOM? It doesn't affect the visual representation in any way. But there's a rule -- if something's in HTML, then it also must be in the DOM tree.
180180
181181
**Everything in HTML, even comments, becomes a part of the DOM.**
182182

0 commit comments

Comments
 (0)