minor fixes
This commit is contained in:
parent
0ac7894d10
commit
fee665777f
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ We may think -- why is a comment added to the DOM? It doesn't affect the visual
|
|||
|
||||
**Everything in HTML, even comments, becomes a part of the DOM.**
|
||||
|
||||
Even the `<!DOCTYPE...>` directive at the very beginning of HTML is also a DOM node. It's in the DOM tree right before `<html>`. We are not going to touch that node, we even don't draw it on diagrams for that reason, but it's there.
|
||||
Even the `<!DOCTYPE...>` directive at the very beginning of HTML is also a DOM node. It's in the DOM tree right before `<html>`. We are not going to touch that node, we even don't draw it on diagrams, but it's there.
|
||||
|
||||
The `document` object that represents the whole document is, formally, a DOM node as well.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue