Use <audio>,<video> and some attribute like controls ,loop ,type ,autopaly & use CSS
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body{
background-color: rgb(86, 153, 153);
}
</style>
<title>audio</title>
</head>
<body>
<h1>This is my Audio file</h1>
<p>Click on this audio file and injoy a popular song by Areght Sing.Ihope all are gayes have some fun.Thanks,everyone.</p>
<!-- <src="horse.ogg/horse.mp3/horse.wav" type="audio/ogg""audio/mpeg""audio/wav"> -->
<audio src="audio 3.wav" type="audio/mpeg" controls autoplay loop>
</audio>
<span>
<h2>this is my vedio element</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Dignissimos nam, ratione nisi minima, placeat amet quasi laboriosam, temporibus quos accusantium sint rerum laudantium iusto non asperiores ullam mollitia doloremque ut.
</p>
<!-- <source src="movie.mp4/movie.ogg/movie.webm" type="video/mp4""video/ogg""video/webm"> -->
<video src="Earth Animation.mp4" controls width="400px" poster="gh.jpg" type="video/mp4" autoplay loop></video>
</span>
</body>
</html>
Comments
Post a Comment