Skip to content

Commit 1fe192d

Browse files
authored
Merge pull request #1475 from javascript-tutorial/paroche-patch-3
Update article.md
2 parents 3483424 + 4452139 commit 1fe192d

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/1-document/05-basic-dom-node-properties

1 file changed

+1
-1
lines changed

2-ui/1-document/05-basic-dom-node-properties/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ For instance, let's compare `tagName` and `nodeName` for the `document` and a co
187187
188188
If we only deal with elements, then we can use both `tagName` and `nodeName` - there's no difference.
189189
190-
```smart header="The tag name is always uppercase except XHTML"
190+
```smart header="The tag name is always uppercase except in XML mode"
191191
The browser has two modes of processing documents: HTML and XML. Usually the HTML-mode is used for webpages. XML-mode is enabled when the browser receives an XML-document with the header: `Content-Type: application/xml+xhtml`.
192192
193193
In HTML mode `tagName/nodeName` is always uppercased: it's `BODY` either for `<body>` or `<BoDy>`.

0 commit comments

Comments
 (0)