write a program to insert audio in the background of html webpage but it should be hidden
Answers
Answered by
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
Sociology,
4 months ago
Social Sciences,
4 months ago
Science,
8 months ago
Math,
1 year ago
Science,
1 year ago