HTML and CSS Reference
In-Depth Information
I.2.5. Styling text tracks
Text tracks can contain simple markup. Typographical elements like
<b>
and
<i>
are al-
lowed.
Figure I.8
shows an updated captions file in action.
Figure I.8. Captions using the
<i>
element
The new version of the captions file is shown in the following listing.
Listing I.16. A cue file with simple formatting
WEBVTT
1
00:00:00.400 --> 00:00:01.500
<i>Players line up</i>
2
00:00:01.800 --> 00:00:02.900
<i>Offense gets ready</i>
3
00:00:03.500 --> 00:00:04.600
<i>The ball is snapped</i>
4