fix typo
This commit is contained in:
parent
6328c5c9b1
commit
13b70adcce
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ Let's discuss them in more detail.
|
||||||
The topmost tree nodes are available directly as `document` properties:
|
The topmost tree nodes are available directly as `document` properties:
|
||||||
|
|
||||||
`<html>` = `document.documentElement`
|
`<html>` = `document.documentElement`
|
||||||
: The topmost document node is `document.documentElement`. That's the DOM node of the`<html>` tag.
|
: The topmost document node is `document.documentElement`. That's the DOM node of the `<html>` tag.
|
||||||
|
|
||||||
`<body>` = `document.body`
|
`<body>` = `document.body`
|
||||||
: Another widely used DOM node is the `<body>` element -- `document.body`.
|
: Another widely used DOM node is the `<body>` element -- `document.body`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue