HTML DOM Track default properties
Examples
Gets the default state for a track:
x The output is:
Definition and Usage
default attribute is used to set or return to the default state of the track.
This property reflects the <track> default properties.
If you use the default attribute, you should use the provisions of the tracks, if the user does not select the other tracks words.
Note: You can not have more than one element of the track rail element of each media element can have only one default property. T
Browser Support
Internet Explorer, Opera, and Chrome browser support srclang property.
Note: Firefox, Safari or Internet Explorer 9 and earlier versions do not support IE srclang property.
grammar
Returns default attributes:
Set default properties:
Property Value
value | description |
---|---|
true | false | The default state of the rail track
|
technical details
return value: | Boolean value that indicates the default state of the track |
---|
More examples
Examples
Setting track default:
Related Pages
HTML Reference Manual: HTML <Track> default properties
Track Objects