Function moxie_dom::elements::media::audio[][src]

pub fn audio() -> AudioBuilder
Expand description

The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.

A function for creating a builder which will accept attributes and produce the element.