Merge pull request #43 from menou2u/patch-3

Correction in a sentence
This commit is contained in:
Ilya Kantor 2017-06-15 22:33:48 +03:00 committed by GitHub
commit f649fbbc0c

View file

@ -472,7 +472,7 @@ Each DOM node belongs to a certain class. The classes form a hierarchy. The full
Main DOM node properties are:
`nodeType`
: Node type. We can get it from the DOM object class, but often we need just to see is it a text or element node. The `nodeType` property is good for that. It has numeric values, most important are: `1` -- for elements,`3` -- for text nodes. Read-only.
: Node type. We can get it from the DOM object class, but often we need just to see if it is a text or element node. The `nodeType` property is good for that. It has numeric values, most important are: `1` -- for elements,`3` -- for text nodes. Read-only.
`nodeName/tagName`
: For elements, tag name (uppercased unless XML-mode). For non-element nodes `nodeName` describes what is it. Read-only.