+ 2
How can I style audio tag?
4 Antworten
+ 2
What kind of styling you have in mind for <audio> though? isn't the purpose of <audio> to play music? what's the need for its styling?
+ 2
Just apply cover photo or any animation (gif)
+ 1
It I'll make it better looking 😇
0
The controls attribute adds audio controls, like play, pause, and volume.
The <source> element allows you to specify alternative audio files which the browser may choose from. The browser will use the first recognized format.
The text between the <audio> and </audio> tags will only be displayed in browsers that do not support the <audio> element.
To start an audio file automatically, use the autoplay