From 0966dd4bd4f98b5333af75968e2ef9db9ecb0c6a Mon Sep 17 00:00:00 2001 From: Camille Menou Date: Thu, 15 Jun 2017 12:47:29 +0200 Subject: [PATCH] Correction in a sentence --- 2-ui/1-document/05-basic-dom-node-properties/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/1-document/05-basic-dom-node-properties/article.md b/2-ui/1-document/05-basic-dom-node-properties/article.md index ec51401f..bd05a7e0 100644 --- a/2-ui/1-document/05-basic-dom-node-properties/article.md +++ b/2-ui/1-document/05-basic-dom-node-properties/article.md @@ -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.