The HTML DOM nodeValue Property is used to describe the property of a given node. It is used to set or get the nodeValue in Any Html document. Prerequisites DOM (Document Object Model)Syntaxlet x = document.getElementById("nodeId").firstChild;x.nodeType;x.nodeName;x.nodeValue;Parameters: No parameters are required.Return value: The HTML nodeValue property returns the following type of values null:
This is a summary. For the full story, refer to the original source. Public of India presents verified citizen-relevant reporting.