Skip to content

Tag Archives: HTML-DOM

The appendChild() method is used to create a text node as the last child of the node. This method also used to move an element… Read More
The console.table() method in HTML is used for writing data in tabular form in the console view. The table data is sent as a parameter… Read More
The createTextNode() method is used to create a TextNode which contains element node and a text node. It is used to provide text to an… Read More
The console.time() method in HTML is used to starting a timer in the console view. The console.time() method can be used for calculating the time… Read More
The createComment() method is used to create a comment node with some specified text. This property is used to set a text value as a… Read More
The DOM title property is used to return the title of the HTML document and also used to sets the value of the title in… Read More
This console.trace() method is used to display the trace which represents how the code ended up at a certain point. Syntax: console.trace( label ) Parameters:… Read More
The console.warn() method is used to write a warning message in the console. So open the console to display the output (warning message). Syntax: console.warn(… Read More
The DOM embeds collection property is used to return the collection of all embedded element. The elements in the collection are sorted that appear in… Read More
The head property in HTML is used to return the first occurrence of the head if multiple heads in the document. It returns the reference… Read More
The URL property in HTML is used to return a string which contains the complete URL of the current document. The string also includes the… Read More
The console.info() method in HTML is used for writing a message in the console. It indicates an important message about any element or object. The… Read More
The console.assert() method in HTML is used to write a message for user on the console only if the expression evaluates to false. The expression… Read More
The console.clear() method in HTML is used to clear the console and writes some message “Console was cleared” on the console whenever it is executed.… Read More
The console.group() method in HTML is used to create a group of messages in the console. It indicates the start of a message group and… Read More