htmlHow to implement music hiding: First create and open the corresponding HTML sample file; then pass "
The operating environment of this article: windows7 system, HTML5&&CSS3 version, DELL G3 computer
HTML5 hidden music player
In HTML5, beginners often use the audio tag combined with the source tag
<!--music--> <audio controls="controls"> <source src="song.mp3" type="audio/mp3" /> </audio>
The following uses the embed tag, which can hide the music player
<!--music--> <section class="music"> <embed src="video/song.mp3" autostart="true" loop="true" hidden="true"></embed> </section>
Recommended learning: " HTML video tutorial》
The above is the detailed content of How to hide music in html. For more information, please follow other related articles on the PHP Chinese website!