You are here : Home - Resources - FAQ - HTML Q1
FAQ - HTML Q1
Q1: How do I put background music on my webpage?
A: I won't go into the politics of webpages and background music so heres how you do it :)
<embed autostart="True" src="path/filename" hidden="True"></embed>
The above line will work but not validate at w3 if you still want sound and valid code use this
<script language="JavaScript" type="text/javascript">
<!--
document.write("<embed autostart=\"True\" src=\"path/filename\" hidden=\"True\"><\/embed>");
// -->
</script>
back to faq