How to embed audio in a HTML document

Introduction

How to embed audio in a HTML document.

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>www.techstudy.org</title>
</head>
<body>
<audio controls>      
  <source src="https://techstudy.org/audio/Sample.mp3" type="audio/mpeg">
</audio>
</body>
</html>

Result

How to embed audio in a HTML document
How to embed audio in a HTML document

Leave a Comment