---
title: HTML audio
slug: html-audio
qid: 
snapshot: enwiki-001366961900
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1366961900
tags: [10637301, 10639558, 20422549, 22904412, 23603337, 24623845, 24745122, 26220375, 32047518, 54504444, 56202681, 69628722]
---

# HTML audio

> [!note] Provenance
> Snapshot `enwiki-001366961900` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1366961900> · Licensed CC BY-SA 4.0

HTML audio is a subject of the HTML specification, incorporating audio, including speech to text, all in the browser.

HTML audio is a subject of the HTML specification, incorporating audio, including speech to text, all in the browser. autoplay = "autoplay" or "" (empty string) or empty Instructs the User-Agent to automatically begin playback of the audio stream as soon as it can do so without stopping. preload = "none" or "metadata" or "auto" or "" (empty string) or empty Represents a hint to the User-Agent about whether optimistic downloading of the audio stream itself or its metadata is considered worthwhile. "none": Hints to the User-Agent that the user is not expected to need the audio stream, or that minimizing unnecessary traffic is desirable. "metadata": Hints to the User-Agent that the user is not expected to need the audio stream, but that fetching its metadata (duration and so on) is desirable. "auto": Hints to the User-Agent that optimistically downloading the entire audio stream is considered desirable. controls = "controls" or "" (empty string) or empty Instructs the User-Agent to expose a user interface for controlling playback of the audio stream. loop = "loop" or "" (empty string) or empty Instructs the User-Agent to seek back to the start of the audio stream upon reaching the end. mediagroup = string Instructs the User-Agent to link multiple videos and/or audio streams together. muted = "muted" or "" (empty string) or empty Represents the default state of the audio stream, potentially overriding user preferences. src = non-empty [URL] potentially surrounded by spaces The URL for the audio stream. Example: Your user agent does not support the HTML5 Audio element. Firefox 23 (Enabled by default since 25) Opera 15 Safari 6 Microsoft Edge 12 Opera GX 36 On mobile devices: Google Chrome for Android 28 (Enabled by default since 29) and Apple iPads Safari 6 (Has restrictions on use (Muted unless user called)) Firefox 23 (Enabled by default since 25) Tizen
