Saturday, July 9, 2016

HTML- Audio Tag

Before you start coding, follow these instructions-

1. Create a folder and name it Audio Tag
2. Save an audio there- Eg. Perfect
3. Go to the coding document, and save the file in the folder Audio Tag with extension .html


Code

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title> Audio Tag </title>
</head>
<body>
<audio controls autoplay loop>
<source src="perfect" type="mp3/mpeg">
</audio>
</body>
</html>



3 comments: