Skip to content

Tag Archives: HTML-DOM

The console.groupCollapsed() method in HTML is used to create a collapsed group of messages in the console. It indicates the start of a collapsed message… Read More
The console.error() method in HTML is used to display an error message on the console. The console.error() method is used for testing purpose. The error… Read More
The writeln() method is used to write a document with additional property of newline character after each statement. This method is similar to the document.write()… Read More
The DOM doctype property is used to return the doctype of any HTML document. The DocumentType object is the name property used to returns the… Read More
This createAttribute() method is used to create an attribute with the specified name and returns the attribute object. The attribute.value property is used to set… Read More
The HTML DOM Body property is used to set the document <body> element. It only returns the content present in the <body> Tag. This property… Read More
The DOM baseURI property is used to return the base Uniform Resource Identifier (URI) of the document. This property is used for read-only. This property… Read More
The DOM close() method is used to close the output stream. It is used to indicate the finish of writing on a window. The close()… Read More
The DOM anchors collection is used to return the collection of all <a> element in a HTML document. It only counts those <a> element that… Read More
The DOM activeElement property is used to return the currently active elements in the HTML document. This property is read-only. It gives the reference of… Read More
In this article, we will discuss Document Object Model(DOM) along with its properties and methods used to manipulate Documents, & understand their implementation through the… Read More

Start Your Coding Journey Now!