Skip to content

Tag Archives: HTML-DOM

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 property is used to set the document <body> element. It only returns the content present in the <body> Tag. This property is… 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 post, we will discuss Document Object Model(DOM) along with its properties and methods used to manipulate Document. Introduction: The Document Object Model (DOM)… Read More