Skip to content

Category Archives: HTML

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 in HTML is used to return the collection of all embedded elements. The elements in the collection are sorted that… 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 DOM URL property in HTML is used to return a string that contains the complete URL of the current document. The string also includes… 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
The console.groupEnd() method in HTML is used to indicate the end of a group of messages in the console which has been created using the… Read More
The console.count() method in HTML is used to write the number of times the console.count() method is called. The console.count() method can be added to… Read More

Start Your Coding Journey Now!