HTML | DOM Window stop() Method Last Updated : 11 Jul, 2025 Summarize Comments Improve Suggest changes Share Like Article Like Report The stop() method in DOM is used to stop the window from loading resources in the current browsing context, similar to the browser's stop button. Syntax: window.stop() Example: Stop window from loading. html <!DOCTYPE html> <html> <head> <title> HTML | DOM Window stop() Method </title> </head> <style> h1 { color: green; } </style> <head> <script> // Stop window loading. window.stop(); </script> </head> <body> <h1>GeeksforGeeks</h1> <p> The stop() method stops this text and the iframe from loading. </p> <iframe src= "https://www.geeksforgeeks.org/ </iframe> </body> </html> Output: Without window.stop() method: With window.stop() method: Supported Browsers: The browser supported by DOM Window stop() Method are listed below: Google Chrome 1Edge 14Firefox 1Opera 12.1Safari 3 Comment More infoAdvertise with us Next Article HTML | DOM Style alignSelf Property C ChinkitManchanda Follow Improve Article Tags : Web Technologies HTML HTML-DOM Similar Reads HTML DOM Select Object The Select object in HTML DOM is used to represent an HTML <select> element. It provides properties and methods to manipulate the <select> element and its associated <option> elements.Syntax:To create <select> element. document.createElement("SELECT")To access <select> 3 min read HTML | DOM TouchEvent touches Property The TouchEvent touches property in HTML DOM is used to return the array of touch object. It returns one for each finger that is currently touching to the surface. The touches property is a read only property and it returns an array of touch objects. Syntax: event.touches Return Value: It return the 1 min read HTML | DOM form method Property The DOM Form method Property is used to set or returnthe value of the method attribute in the form. The method attribute is used to specify the HTTP method used to send data while submitting the form. There are two kinds of HTTP Methods, which are GET and POST. Syntax: It is used to return the metho 3 min read HTML | DOM Form name Property The DOM Form name Property is used to set or return the value of the name attribute in a form. The name attribute is required for each input field. If the name attribute is not specified in an input field then the data of that field would not be sent at all. Syntax: It is used to return the name pro 2 min read HTML | DOM Style alignSelf Property The DOM Style alignSelf property is used to set or return the alignment for a selected item inside a flexible container. Syntax: To get the alignSelf Propertyobject.style.alignSelfTo set the alignSelf Propertyobject.style.alignSelf = "auto | stretch | center | flex-start | flex-end | baseline | init 6 min read HTML DOM Input Date Object HTML Input Date object represents an <input> element with type="date", enabling users to input dates conveniently via a built-in calendar interface on web forms. Syntax:Â For creating a <input> element with the type ="date":var gfg = document.createElement("input") gfg.setAttribute("type 3 min read HTML DOM InputEvent data Property The InputEvent data property is used to return the character that was inserted using the event. The InputEvent data property is a read-only property and it returns a string representing the character that was inserted. Syntax:event.dataReturn Value: It returns the input data from a text field. Below 1 min read HTML | DOM Style columnSpan Property The DOM style columnspan property is used to specify how many columns an element should span across. Syntax: It return the columnSpan property:object.style.columnSpanIt set the columnSpan property:object.style.columnSpan = "1|all|initial|inherit" Property Values: 1: Default value of the element. Use 3 min read HTML | DOM Input DatetimeLocal Object The Input DatetimeLocal object is used for representing an HTML <input> element of the type="datetime-local". The Input DatetimeLocal Object is a new object in HTML5. Syntax: For creating a <input> element with the type ="datetime-local":gfg = document.createElement("input") gfg.setAttri 3 min read HTML | DOM Style transformOrigin Property Every HTML element has some position on the screen. This position is described using co-ordinate geometry using x-axis and y-axis. The HTML DOM Style transformOrigin Property used to change the position of an HTML div. It helps in both 2D and 3D transformation.Syntax: To set the transformOrigin prop 2 min read Like