Please clarify instuctions

What’s meant by the “#” in this instruction about the HTML DOM?

The nodeName Property

The nodeName property specifies the name of a node.

* nodeName is read-only
* nodeName of an element node is the same as the tag name
* nodeName of an attribute node is the attribute name
* nodeName of a text node is always #text
* nodeName of the document node is always #document

Hy,
I think that “#text” want to specify that is a text string, “#document” specifies that is the object that represents the document.