![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
AmitDiwan has Published 11365 Articles
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
176 Views
The HTML DOM nodeValue property returns/sets a string corresponding to the value of the node.Following is the syntax −Returning string valueNode.nodeValueHere, the return value can be the following −Value as ‘null’ for document nodes & element nodesValue as ‘value’ of the attribute for attribute nodesValue as content for text nodes ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
86 Views
The HTML DOM nodeType property returns a number corresponding to the type of the node.Following is the syntax −Returning number valueNode.nodeTypeHere, the return value can be the following −Number ‘1’ for element nodesNumber ‘2’ for attribute nodesNumber ‘3’ for text nodesNumber ‘8’ for comment nodesNOTE: Whitespaces are considered as text ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
113 Views
The HTML DOM nodeName property returns a string corresponding to the name of the node.Following is the syntax −Returning string valueNode.nodeNameHere, the return value can be the following −Tag name in uppercase for element nodesName of the attribute for attribute nodes‘#comment’ for comment nodes‘#document’ for comment nodes‘#text’ for text nodesNOTE: ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
153 Views
The HTML DOM nextSibling property returns the element node which is immediately following specified element node.NOTE: This property does not ignore text and comment nodes.Following is the syntax −Returning nextSibling nodenodeList.nextSiblingLet us see an example of HTML DOM nextSibling property −Example Live Demo HTML DOM nextSibling form ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
108 Views
The HTML DOM nextElementSibling property returns the element node which is immediately following specified element node.NOTE: This property does ignore text and comment nodes.Following is the syntax −Returning nextElementSibling nodenodeList.nextElementSiblingLet us see an example of HTML DOM nextElementSibling property −Example Live Demo HTML DOM nextElementSibling form { ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
184 Views
The HTML DOM Nav Object in HTML represents a element.Let us see an example of HTML DOM Nav object −Example Live Demo HTML DOM Nav * { padding: 2px; margin:5px; } form { ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
127 Views
The HTML DOM name property returns a string corresponding to the name of the attribute of an element.Following is the syntax −Returning string valueelementAttribute.nameLet us see an example of HTML DOM name property − Live Demo HTML DOM name * { padding: 2px; ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
355 Views
The HTML DOM MouseEvent Object represents an event which incurs on interaction of mouse with the HTML document elements.Here, “MouseEvent” can have the following properties and methods −Property/MethodDescriptionaltKeyItreturns whether the "ALT" key on keyboard was pressedwhen the mouse event was triggeredbuttonItreturns a number corresponding to which mouse button was pressedwhen ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
51 Views
The HTML DOM MouseEvent screenY property returns the vertical (y) coordinate of the mouse pointer relative to the users screen display if a mouse event was triggered. Use with screenY to get the horizontal coordinate as well.Following is the syntax −Returning reference to the screenY objectMouseEventObject.screenYLet us see an example ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
63 Views
The HTML DOM MouseEvent screenX property returns the horizontal (x) coordinate of the mouse pointer relative to the users screen display if a mouse event was triggered. Use with screenY to get the vertical coordinate as well.Following is the syntax −Returning reference to the screenX objectMouseEventObject.screenXLet us see an example ... Read More