on
CSS
- Get link
- X
- Other Apps
The <audio> has been added to HTML5 to allow embedding audio files to a web page. not all browsers support all audio format the audio file is encoded using special codecs. The <source> tag or the src attribute is used to indicate the variations of the same audio file. The path to audio file can contain absolute and relative URLS.
Syntax: The <audio> tag comes in pairs; the content is written between the opening (<audio>) and the closing (</audio>) tags.
<!Doctype html>
<html> and </html>
html is the root element.
<body> and </body>
body is main content area.
All visible content inside to the <body> tag
Comments
Post a Comment