Earn income with your HTML skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest self-service freelancing marketplace for people like you.

HTML <audio> title Attribute

The title attribute on an <audio> tag adds a tooltip with title text to the audio.

Hovering the mouse over the audio player will display the tooltip.

Example

#

A title attribute on an <audio> element.
Hover over the audio player to see the tooltip.

<audio title="Epic music composition by Holister" controls>
  <source src="/media/epic.mp3" type="audio/mpeg">
  <source src="/media/epic.wav" type="audio/wav">
</audio>

Code explanation

The title attribute is applied to the <audio> opening tag. The value can be any string.

Hovering the mouse over the audio player will cause a tooltip with the title value to appear.


Using title

The title attributes attaches additional information to the <audio> element.

Its value can be seen as tooltip when hovering over the audio control.


Syntax

<audio title="value">

Values

#

Value Description
value A string value. A title can span multiple lines by including newline or carriage-return characters:  &#10;  or  &#013;.

Browser support

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.0 Aug 2009
Safari
11.5 Jun 2009

You may also like

 Back to <audio>
Earn income with your HTML skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest self-service freelancing marketplace for people like you.

Guides