Home >> HTML 5 >> audio Tag in HTML 5

audio Tag in HTML 5

Audio tag is used for adding audio content in website.

For example:-

<!Doctype html>
<html>
<head>
  <title>Audio Tag</title>
</head>
<body>
  <audio controls>
     <source src="audioname.ogg" type="audio/ogg">
     <source src="audioname.mp3" type="audio/mpeg">
  </audio>
</body>
</html>

Post Your Comment

Next Questions
b Tag
base Tag
basefont Tag
bdo Tag
bdi Tag
bgsound Tag
big Tag
blockquote Tag
body Tag
br Tag
button Tag
canvas Tag
caption Tag
center Tag
cite Tag
code Tag
col Tag
colgroup Tag
data Tag
datalist Tag
dd Tag
del Tag
details Tag
dfn Tag
dialog Tag

Copyright ©2022 coderraj.com. All Rights Reserved.