The title attribute on a <video> tag adds a tooltip with title text to the video player.
Hovering the mouse over the video player will display the tooltip.
A title attribute on a <video> element.
Hover over the video to see the tooltip.
<video title="Video of Bucky Bunny" width="320" height="240" controls>
<source src="/media/movie.mp4" type="video/mp4">
<source src="/media/movie.ogg" type="video/ogg">
</video>
The title attribute is applied to the <video> opening tag.
The value can be any string.
Hover the cursor over the video element and after a second a tooltip appears.
The title attributes attaches additional information to the <video> element.
Its value can be seen as tooltip when hovering over the video control.
<video title="value">
Value | Description |
---|---|
value | A string value. A title can span multiple lines by including newline or carriage-return characters: or 
. |
Here is when title support started for each browser:
Chrome
|
4.0 | Jan 2010 |
Firefox
|
3.5 | Jun 2009 |
IE/Edge
|
9.0 | Sep 2012 |
Opera
|
10.5 | Mar 2010 |
Safari
|
4.0 | Jun 2009 |
Back to <video>