< All the HTML Tags >

<audio></audio>

Video Coming Soon...

  • audio

    Tag Type

    inline

    Tag Category

    media

    Defines sound content

    Viewed

    1

    Examples

    1

Definition:

The HTML <audio> tag is used to embed sound content in a webpage, such as music tracks, podcasts, or other audio streams.

With attributes like controls, autoplay, and loop, the <audio> tag offers robust support for user interaction with audio files. It accepts various audio file formats, such as MP3, OGG, and WAV, and can be combined with the <source> tag for multiple file sources.

In modern web development, the `<audio>` tag plays an important role in providing rich multimedia experiences without the need for third-party plugins.

Attributes:

src, controls, autoplay, loop, muted, preload

Accessibility:

Coming Soon…

Default audio Example:

Using the <audio> tag to embed an audio file.
<audio controls><source src="audio.mp3" type="audio/mpeg"></audio>

Default audio Result:


Coming Soon…

Community Examples:

Coming Soon…
Coming Soon…