HTML <track> tag
Html <track> tag : Definition
• HTML <track> element is the child element of parent media elements <audio> and <video>.
• The <track> elements is generally used to specify the text tracks such as subtitle and caption tracks for <audio> and <video> elements.
Html <track> tag example
<!DOCTYPE html> <html> <head> <title>HTML track tag example</title> </head> <body> <video controls="controls" width="500px" height="400px"> <source src="try_it/media/tiger-roar.mp4" type="video/mp4"/> <track src="try_it/media/tiger-roar.mp4" kind="subtitles" srclang="en" label="English"/> <p>Your browser does not support the <video> tag.</p> </video> </body> <html>