property
nodeName

String nodeName
read-only

The name of this node.

This varies by this node's [nodeType].

Other resources

  • Node.nodeName from MDN. This page contains a table of [nodeName] values for each [nodeType].