The best HTML DOM Track Objects Tutorial In 2024, In this tutorial you can learn Track Objects,Track Object Properties,Standard properties and events,related articles,
Track object represents the HTML <track> element.
You can access the <track> element using the getElementById ():
You can use document.createElement () method to create a <track> element:
Attributes | description |
---|---|
default | Sets or returns the default state of the track |
kind | Sets or returns the kind attribute value track |
label | Sets or returns the label of the track property values |
readyState | It returns the status of the current orbit resource |
src | Sets or returns the src attribute value of the track |
srclang | Sets or returns the property value srclang track |
track | Back TextTrack object that represents the track elements of text data track |
Track objects also supports standard attributes and events .
HTML Reference Manual: HTML <Track> tag