Front End Technology Articles

Page 23 of 652

HTML DOM Ol reversed Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 207 Views

The HTML DOM Ol reversed property sets or returns whether an ordered list should display its numbering in descending order (from highest to lowest) instead of the default ascending order (from lowest to highest). Syntax Following is the syntax for returning the reversed property − olObject.reversed Following is the syntax for setting the reversed property − olObject.reversed = booleanValue Parameters The booleanValue parameter can be one of the following − Value Description true Sets the list numbering in descending order (highest ...

Read More

HTML DOM Ol type Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 183 Views

The HTML DOM Ol type property sets or returns the value of the type attribute of an ordered list () element. This property determines the type of marker (numbering style) used for list items in an ordered list. Syntax Following is the syntax for returning the type property − olObject.type Following is the syntax for setting the type property − olObject.type = "1|a|A|i|I" Property Values The type property accepts the following values − Value Description Example "1" Default decimal numbers 1, ...

Read More

HTML DOM Time Object

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 231 Views

The HTML DOM Time Object represents the element in the Document Object Model. This object provides properties and methods to interact with HTML time elements, allowing developers to access and manipulate datetime information programmatically. The element is used to represent a specific period in time, such as dates, times, or durations. It provides semantic meaning to temporal content and can be styled with CSS or manipulated with JavaScript. Syntax To create a Time object using JavaScript − var timeObject = document.createElement("TIME"); To access an existing time element − var ...

Read More

HTML DOM timeStamp Event Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 300 Views

The HTML DOM timeStamp property returns the elapsed time in milliseconds since the document was loaded when an event was created or triggered. This property is particularly useful for measuring performance, timing user interactions, and creating time-based game mechanics. The timeStamp property only works if the event system supports it for the particular event type. Most modern browsers support this property for common events like mouse events, keyboard events, and touch events. Syntax Following is the syntax for accessing the timeStamp property − event.timeStamp This returns a number representing the time in milliseconds ...

Read More

HTML DOM TouchEvent ctrlKey Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 113 Views

The HTML DOM TouchEvent ctrlKey property returns a boolean value that indicates whether the Ctrl key was pressed when a touch event was triggered. This property is useful for creating touch interfaces that respond differently based on modifier key combinations. Syntax Following is the syntax for accessing the ctrlKey property − touchEvent.ctrlKey Return Value The property returns a boolean value indicating the state of the Ctrl key − Return Value Description true The Ctrl key was pressed when the touch event occurred false ...

Read More

HTML DOM TouchEvent Object

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 238 Views

The HTML DOM TouchEvent Object represents events that occur when users interact with HTML document elements using touch-enabled devices like smartphones, tablets, or touch screens. Touch events are essential for creating responsive mobile web applications. TouchEvent Properties The TouchEvent object provides several properties to detect modifier key states and touch point information − Property Description altKey Returns a Boolean value indicating if the Alt key was pressed when the touch event was fired. changedTouches Returns a TouchList object containing all contact points that triggered a state change in ...

Read More

HTML DOM Track default Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 154 Views

The HTML DOM Track default property sets or returns a boolean value that determines whether a text track should be enabled by default when the media element loads, unless the user's preferences override this setting. Note: Only one track element should have the default attribute set to true per media (audio/video) element to avoid conflicts. Syntax Following is the syntax for returning the default property value − trackObject.default Following is the syntax for setting the default property − trackObject.default = booleanValue Parameters The booleanValue parameter can have the ...

Read More

HTML DOM Track kind Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 166 Views

The HTML DOM Track kind property sets or returns the value of the kind attribute of a track element. This property specifies the type of text track associated with media elements like video and audio, helping browsers understand how to handle and display track content. Syntax Following is the syntax for getting the kind property − trackObject.kind Following is the syntax for setting the kind property − trackObject.kind = stringValue Parameters The stringValue parameter can be one of the following track types − Value Description ...

Read More

HTML DOM TransitionEvent elapsedTime Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 91 Views

The HTML DOM TransitionEvent elapsedTime property returns a floating-point number representing the duration in seconds that a CSS transition has been running when a transition event is fired. This property is particularly useful for monitoring and debugging CSS transitions or creating animations with precise timing. Syntax Following is the syntax to access the elapsedTime property − transitionEvent.elapsedTime Return Value The elapsedTime property returns a double representing the number of seconds the transition has been running. This value excludes any time the transition was paused. Example − Basic Transition Timing Following example ...

Read More

HTML DOM TransitionEvent propertyName Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 121 Views

The HTML DOM TransitionEvent propertyName property returns a string that identifies the specific CSS property that triggered a transition event. This property is essential for identifying which CSS property completed its transition when multiple properties are transitioning simultaneously. Syntax Following is the syntax for accessing the CSS property name from a transition event − transitionEvent.propertyName Return Value The propertyName property returns a string representing the name of the CSS property that finished transitioning. For example, it might return "transform", "width", "opacity", or any other CSS property that was being transitioned. Example − ...

Read More
Showing 221–230 of 6,519 articles
« Prev 1 21 22 23 24 25 652 Next »
Advertisements