我们如何在wordpress中添加bgsound?
我们如何在wordpress中添加bgsound,bgsound不起作用
How can we add bgsound in wordpress, bgsound is not working
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我们如何在wordpress中添加bgsound,bgsound不起作用
How can we add bgsound in wordpress, bgsound is not working
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
编辑 HTML 代码。标签<之后头>插入以下代码:
更新:
有三个标签用于添加声音文件。其中两个不是有效的 HTML,第三个不能跨浏览器可靠地工作:
注意:您的情况可能有所不同,但将音乐作为网页背景添加通常是一个非常糟糕的主意。在后台播放音乐可能会中断当前通过用户扬声器发出的任何声音。许多人将计算机用作播放音乐和视频的媒体站。突然被打断就相当于一张报纸从桌子上跳下来,像抱脸者一样缠住你的头,开始把头条新闻塞进你的喉咙。
播放音乐也会降低网站的性能,尤其是在速度较慢的机器上。
Edit the HTML code. After the tag < head > insert the following code:
Update:
There are three tags that are used to add sound files. Two are not valid HTML and the third doesn't work reliably across browsers:
Note: Your situation may be different, but it is usually a very bad idea to add music as a background to a web page. Having music playing in the background can interrupt whatever is currently coming through the users speakers. Many people use their computers as media stations that play music and video. Having this suddenly interrupted is the equivalent of having a newspaper that jumps off the table and wraps around your head like a facehugger and starts laying headlines in your throat.
Also having music playing will decrease the performance of the site, especially on slower machines.
在主题的头文件(header.php)中执行此操作。
Do it in the header file of your theme (header.php).