Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by AmitDiwan
Page 250 of 840
HTML DOM Input Range disabled property
The HTML DOM Input Range disabled property sets or returns whether a range slider should be disabled. When set to true, the range slider becomes greyed out and unresponsive to user interaction. The property accepts boolean values and defaults to false. Syntax Following is the syntax for setting the disabled property − rangeObject.disabled = true|false; Following is the syntax for getting the disabled property − var isDisabled = rangeObject.disabled; Parameters The disabled property accepts the following boolean values − true − The range slider is disabled and ...
Read MoreHTML DOM Underline Object
The HTML DOM Underline Object represents the element in the Document Object Model. The element is used to display text with an underline, though modern HTML5 recommends using CSS for styling instead of semantic meaning. The Underline Object provides access to all standard HTML element properties, methods, and events, allowing you to manipulate underlined text dynamically through JavaScript. Syntax To create a new element using JavaScript − var uObject = document.createElement("U"); To access an existing element − var uObject = document.getElementById("elementId"); Creating a Underline Element ...
Read MoreHTML Navigator javaEnabled() Method
The navigator.javaEnabled() method in JavaScript returns a boolean value indicating whether Java is enabled in the current browser. This method is part of the Navigator interface and provides information about the browser's Java support capabilities. Syntax Following is the syntax for the navigator.javaEnabled() method − navigator.javaEnabled() Parameters This method does not accept any parameters. Return Value The method returns a boolean value − true − If Java is enabled in the browser false − If Java is disabled or not available in the browser Example − Basic ...
Read MoreHTML Window outerWidth Property
The HTML Window outerWidth property returns the total width of the browser window, including all interface elements like scrollbars, toolbars, and window borders. This property is useful for responsive design and layout calculations that need to account for the complete browser window dimensions. Syntax Following is the syntax for the outerWidth property − window.outerWidth Return Value The outerWidth property returns an integer value representing the total width of the browser window in pixels, including: The content area Vertical scrollbars (if present) Window borders Any browser interface elements ...
Read MoreHTML Window name Property
The HTML Window name property is used to get or set the name of the browser window. This property is particularly useful for identifying windows in multi-window applications, frame targeting, and inter-window communication. Syntax Following is the syntax for getting the window name − window.name Following is the syntax for setting the window name − window.name = "windowName" Return Value The window.name property returns a string representing the name of the window. If no name has been set, it returns an empty string (""). Getting Window Name ...
Read MoreHTML DOM Input Range form property
The HTML DOM Input Range form property returns a reference to the form element that contains the input range slider. If the range slider is not contained within a form, it returns null. This property is read-only and provides a way to access the parent form from a range input element. Syntax Following is the syntax for the input range form property − rangeObject.form Return Value The form property returns − A reference to the form element that contains the input range slider null if the range input is not inside ...
Read MoreHTML Window screenLeft Property
The HTML Window screenLeft property returns the horizontal distance in pixels from the left edge of the user's screen to the left edge of the browser window. This property is useful for determining window positioning and creating multi-window applications. Note: The screenLeft property is not supported in Firefox. Firefox uses screenX instead for the same functionality. Syntax Following is the syntax for the screenLeft property − window.screenLeft Return Value The screenLeft property returns a number representing the horizontal distance in pixels from the left edge of the screen to the left edge ...
Read MoreHTML Screen availHeight Property
The HTML Screen availHeight property returns the available height of the user's screen in pixels, excluding browser interface elements like toolbars, taskbars, and other operating system UI components. This property is useful for determining how much screen space is actually available for displaying content. Syntax Following is the syntax for the availHeight property − screen.availHeight Return Value The availHeight property returns an integer representing the available height of the screen in pixels. This value is always less than or equal to the total screen height (screen.height) because it excludes areas occupied by the ...
Read MoreHTML Window screenTop Property
The HTML Window screenTop property returns the vertical distance in pixels between the top edge of the browser window and the top edge of the user's screen. This property is useful for determining the window's position when creating popup windows or managing window layouts. Note − The screenTop property is not supported in Firefox browsers. Firefox uses the screenY property instead for the same functionality. Syntax Following is the syntax for the screenTop property − window.screenTop Return Value The screenTop property returns a number representing the vertical distance in pixels from the ...
Read MoreHTML DOM Input Range max property
The HTML DOM Input Range max property is used for setting or returning the max attribute value for the range slider control. This attribute indicates the maximum value of the slider control and is often used with the min property to create a range of values between which the slider can move. Syntax Following is the syntax for setting the Range max property − rangeObject.max = number Following is the syntax for returning the Range max property − var maxValue = rangeObject.max Here, number represents the maximum slider control value, ...
Read More