Document.getElementsByTagName()

With the "getElementsByTagName" method we can access the html tags. var elements = document.getElementsByTagName(name); "document.getElementById()" difference: Thanks to "document.getElementById() " we could reach the tags with id. With the "getElementsByTagName" method we can access the html tags. id is given a single value. But the labels are not the only one. A code array can... Continue Reading →

javaScript DOM Navigation

With HTML DOM, all nodes in the node tree can be accessed with JavaScript. New nodes can be created and all nodes can be changed or deleted. Node Relationships The nodes in the node tree have a hierarchical relationship with each other.Parents, children and siblings are used to describe relationships. In a node tree, the... Continue Reading →

Create a website or blog at WordPress.com

Up ↑

Design a site like this with WordPress.com
Get started