Computer Science, asked by prateekshasaxena290, 8 months ago

write a program to insert audio in the background of html webpage but it should be hidden​

Answers

Answered by rg71713
1

Answer:

You can add HTML background music code to your website by using the <audio> element, but omitting the controls attribute.

The controls attribute specifies that there should be controls (such as a "Play" button, "Pause" button etc) so by removing this attribute, no controls will be displayed.

Attributes for the <audio> Element

The <audio> element supports a number of attributes - both global and local. To see a list of these, along with a description, visit the HTML5 <audio> tag page.

Similar questions