WebVTT

__WebVTT__ (Web Video Text Tracks) is a World Wide Web Consortium (W3C) standard for displaying timed text in connection with the HTML5 <code>&lt;track&gt;</code> element- wikipedia

The early drafts of its specification were written by WHATWG in 2010 after discussions about what caption format should be supported by HTML5—the main options being the relatively mature, XML-based Timed Text Markup Language (TTML) or an entirely new but more lightweight standard based on the widely-used SubRip format.

The final decision was for the new standard, initially called WebSRT (Web Subtitle Resource Tracks). It shared the .srt file extension and was broadly based on the SubRip format, though not fully compatible with it.

The prospective format was later renamed WebVTT. In the January 13, 2011 version of the HTML5 Draft Report], the `<track>` tag was introduced and the specification was updated to document WebVTT cue text rendering rules. The WebVTT specification is still in draft stage but the basic features are already supported by all major browsers.

# Main differences from SubRip

- WebVTT's first line starts with ''WEBVTT'' after the optional UTF-8 byte order mark - There is space for optional header data between the first line and the first cue - Timecode fractional values are separated by a full stop instead of a comma - Timecode hours are optional - The frame numbering/identification preceding the timecode is optional - Comment (computer programming)|Comments identified by the word ''NOTE'' can be added - Metadata information can be added in a JSON-style format - Chapter information can be optionally specified - Only supports extended characters as UTF-8 - CSS in a separate file defined in the companion HTML document for C tags is used instead of the FONT tag - Cue settings allow the customization of cue positioning on the video- wikipedia

# Sections