audio

object audio extends Tag

<span class="seoSummary">The <strong>HTML <code><audio></code> element</strong> is used to embed sound content in documents. It may contain one or more audio sources, represented using the <code>src</code> attribute or the <a title="The HTML <source> element specifies multiple media resources for either the <picture>, the <audio> or the <video> element. It is an empty element. It is commonly used to serve the same media content in multiple formats supported by different browsers." href="/en-US/docs/Web/HTML/Element/source"><code><source></code></a> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a <a title="The MediaStream interface represents a stream of media content. A stream consists of several tracks such as&nbsp;video or audio tracks. Each track is specified as an instance of MediaStreamTrack." href="/en-US/docs/Web/API/MediaStream"><code>MediaStream</code></a>.</span>

trait Tag
class Object
trait Matchable
class Any

Type members

Classlikes

object tag extends TagElement

Types

type tagType = tag

Value members

Concrete methods

@inline
def apply(mods: TagMod[tag]*): WithAttrs[tagType]