Skip to content

Tag Archives: HTML-DOM

The window.scrollBy() method is used to scroll the document by given number of pixels. Syntax: window.scrollBy( xcoordinate, ycoordinate ); or window.scrollBy(options); Parameters: This method accepts… Read More
The DOM onmouseover event in HTML occurs when the mouse pointer is moved onto an element or its children. Syntax: In HTML: <element onmouseover="myScript"> In… Read More
The HTML DOM onmousedown event occurs on a press on a mouse button over an element. Related events for left-click: onmousedown onmouseup onclick Related events… Read More
The HTML DOM onmouseout event occurs when the mouse pointer is moved out of an element or its children. Syntax: In HTML: <element onmouseout="myScript"> In… Read More
The DOM onmousemove event in HTML occurs when the pointer is move over an element. Syntax: In HTML: <element onmousemove="myScript"> In JavaScript: object.onmousemove = function(){myScript};… Read More
The DOM ononline event occurs on online work of browser. The ononline event is a conflict with the onoffline event. Note: navigator.onLine property is used… Read More
The comment() constructor in HTML DOM is used to return the newly created comment object with an optional parameter as string. Syntax: comment1 = new… Read More
The DOM onopen event occurs on an open connection with an event source. Related events: onmessage: Received the message. onerror: The problem occurs. Syntax: Using… Read More
The DOM onmouseenter event in HTML occurs when the mouse pointer is moved onto an element. This event is the opposite of onmouseleave event. This… Read More
The HTML DOM Audio pause() Method is used to pause the currently playing audio. To use the audio pause() method, one must use the controls… Read More
The HTML DOM onloadstart event occurs when the loading process of a specified audio/video starts. events that occur during the loading process of an audio/video:… Read More
The HTML DOM IFrame srcdoc property is used to set or return the value of a srcdoc attribute of an <Iframe> element. The srcdoc attribute… Read More
The DOM onkeypress event in HTML occurs when a key is pressed by the user. Order of events related to the onkeypress event: onkeydown onkeypress… Read More
The DOM onload event in HTML occurs when an object has been loaded. The onload event is mostly used within the element, The <body> The… Read More
The DOM onloadeddata event in HTML occurs when the current frame data is loaded but the next frame’s data is not enough data to play… Read More