Skip to content

Tag Archives: HTML-DOM

The readyState property in HTML is used to return the loading status of the current document. This property is used for read-only. Syntax: document.readyState Return… Read More
The DOM dir Property is used to set or return the value of dir attribute in an Element. It defines a direction of the text… Read More
The DOM id Property is used to set or return the id of an element i.e value of the Id Attribute. An ID should be… Read More
The Location pathname property in HTML is used to set or return the pathname of a URL. The Location pathname property returns a string which… Read More
The Location protocol property in HTML is used to return the protocol or set the protocol of the current URL. It returns a string which… Read More
The Location hostname property in HTML is used to return the hostname of the current URL. The Location hostname property returns a string which contains… Read More
The Location href property in HTML is used to set or return the complete URL of the current page. The Location href property can also… Read More
The History go() method in HTML is used for loading a specific URL from the history list. It is a better alternative to history.back() and… Read More
The History back() method in HTML is used to load the previous URL in the history list. It has the same practical application as the… Read More
The History length property in HTML is used to return the count of URLs in the history list of the current browser window. The minimum… Read More
The Location Hash property in HTML is used to return the anchor part of a URL. It can also be used to set the anchor… Read More
The console.log() method in HTML is used for writing a message in the console. It indicates an important message during testing of any program. The… Read More
The History forward() method in HTML is used to load the next URL in the history list. It has the same practical application as the… Read More
The images collection property in HTML is used to return the collection of <img> elements in the document. It can be used for knowing the… Read More
The Location Host property in HTML is used to sets or returns the hostname and port of a URL. The Location Hash property doesn’t return… Read More