HTML <audio> Tag



Beschreibung

Das HTML <audio> Tag wird verwendet, um Audio in Webseiten einbetten.

Beispiel

<!DOCTYPE html>
<html>
<head>
<title>HTML audio Tag</title>
</head>
<body>
<p>Click on Play button...</p>
<p>(Song: Kalimba which is provided as a Sample Music in Windows)</p>
<audio controls>
  <source src="/html/Kalimba.mp3" type="audio/mpeg">
</audio>
</body>
</html>

Dies wird folgendes Ergebnis angezeigt:

Click on Play button...

(Song: Kalimba which is provided as a Sample Music in Windows)

Global Attribute

Dieser Tag unterstützt alle globalen Attribute beschrieben in - HTML Attribute Referenz

Browser Unterstützung

ChromeFirefoxIEOperaSafariMobile
jajajajajaja
html_tags_reference.htm
Advertisements