使用HTML5的问题

cyxcw1 2010-10-31 08:56:08
我是用的是Xampp建站软件,安装后,一下代码放在我一个PHP文件里面:
<!DOCTYPE HTML>
<html>
<body>

<audio controls="controls">
<source src="mad sexy cool.ogg" type="audio/ogg">
<source src="mad sexy cool.mp3" type="audio/mpeg">
Your browser does not support the audio tag.
</audio>

</body>
</html>


然后运行显示:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

Error 404

localhost
2010/10/31 20:55:00
Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0


请问这个是什么问题啊,我已经在htdocs文件夹上放了那个mp3文件了,为什么会出现这种问题?
是不是Xampp的Apache不支持HTML5啊?
...全文
80 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
cyxcw1 2010-11-02
  • 打赏
  • 举报
回复
解决了,楼上们正解...3Q
sohighthesky 2010-11-01
  • 打赏
  • 举报
回复
404,明显路径 错误,找不到指定文件
alsove 2010-11-01
  • 打赏
  • 举报
回复
怀疑不是mp3文件的问题。
你检查一下,你运行网页的那个url是否正确。

例如:/htdocs/a.html 一般对应: localhost/a.html
cyxcw1 2010-10-31
  • 打赏
  • 举报
回复
啊 自己顶一下吧 没人回答

61,112

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧