I'm trying to make a background music .I tried few code which are available but it didn't work for me .I can play it by clicking the play button but i want it to play automatically i want to make it as background music ...
I am using chrome but it still not working here
I want you guys to change or update my code ...please
<!DOCTYPE html>
<htlm>
<head>
<title>test</title>
<mata charaset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="cv.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://kit.fontawesome.com/a54d2cbf95.js"></script>
</head>
<style>
</style>
<body>
<audio controls autoplay>
<!-- <source src="horse.ogg" type="audio/ogg"> -->
<source src="backsound.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
</body>
</htlm>