title: How do I embed music on a webpage and have it play automatically when executed or clicked?
body: <p>I'm trying to find a tag/code that allows me to play background music when a webpage is launched or executed, is there any that is compatible with Google Chrome and if there are any, which codes work with chrome?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html PUBLIC "-//w3c//DTD HTML 4.01 Transitional//EN"http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;My First Web Application&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  &lt;bgsound src="music/sample.mp3"&gt;
     &lt;noembed&gt;&lt;img src="images/download.jpg" &gt;&lt;/noembed&gt;
  &lt;/bgsound&gt;
  &lt;a href="music/fur-elise.mid"&gt;Fur Elise&lt;/a&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>