Category: JavaScript

Searching HTML DOM Elements 0

Searching HTML DOM Elements

In JavaScript we can get any DOM elements of the HTML page by searching the elements DOM using the some inbuilt methods. JavaScript provides the several methods like getElementById(), getElementsByClassName(). document.getElementById() It is the...

document.write() 0

Using document.write()

The document.write() method will directly write into the page. It gives the output string directly into the page. document.write() method is the fastest method to gives the output because it does not change the...

Modifying the HTML document 0

Modifying The HTML Document

By using the JavaScript we can modify the any part of the HTML or the entire HTML page. Now the DOM modification is the key to making the page dynamic. For the DOM modification...

DOM Attributes And Custom Properties 0

DOM Attributes And Custom Properties

A DOM node have the many attributes and the properties. The attributes and properties are the two different things. Properties DOM node is an object, So it can store the any custom properties and...

JavaScript HTML DOM Node Properties 0

DOM Node Properties

A DOM node is an object with methods and properties containing information about node itself. Some of the properties are read-only and some can be update. nodeType Every HTML DOM Node have the nodeType...