When writing in HTML, the tag is used to designate text tracks for both the and tags. It is useful for when you want to add captions, subtitles, or other forms of text that display as the media plays. The following sections contain information about this tag, including an example of its code, and related attributes and browser compatibility. Example of code Your browser does not support the tag. Attributes Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. The following table shows all of the current unique HTML attributes for the tag, and a description of each. Example of code Attributes Compatibility Related information Compatibility Browser, Caption, Code, Compatibility, Embed, Loop, Mute, Video, Web design terms, Web page Related information How to add pictures to an HTML website. How to insert a movie or video in an HTML document. How to create a link to play a sound file in HTML. HTML and web design help and support.