" Just install the device."/> " Just install the device.">

Home  >  Article  >  Web Front-end  >  How to hide music in html

How to hide music in html

藏色散人
藏色散人Original
2021-03-29 11:05:466966browse

htmlHow to implement music hiding: First create and open the corresponding HTML sample file; then pass "5e1ecaa591962c12e3d2063187c8a355" just hide the music player.

How to hide music in html

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn