Merge pull request #233 from hazkaz/patch-1

fixed typo on line 44
This commit is contained in:
Ilya Kantor 2017-10-07 17:04:27 +03:00 committed by GitHub
commit 62c4fb9e50

View file

@ -41,7 +41,7 @@ drawHtmlTree(node1, 'div.domtree', 690, 320);
</script>
```online
On the picture above element nodes you can click on element nodes. Their children will open/collapse.
On the picture above, you can click on element nodes and their children will open/collapse.
```
Tags are called *element nodes* (or just elements). Nested tags become children of the enclosing ones. As a result we have a tree of elements: `<html>` is at the root, then `<head>` and `<body>` are its children etc.