HTML5 离线存储报错问题
ringa_lee
ringa_lee 2017-04-17 11:36:13
0
1
537

根据教材学习html5离线存储,实例却出现问题。如下:

代码如下(不知道为什么 用pre编辑html代码 预览会解析出代码,只好截图了 见谅):


offline.manifest代码如下:

CACHE MANIFEST
#This is a comment 4
index.html
css/style.css

CACHE
index.html
css/style.css
images/images.jpg
images/images-med.jpg
images/images-small.jpg

我用的是apache服务器 已经在mime.type文件底部添加 "text/cache-manifest manifest"
并且在 .htaccess 尾部添加了"AddType text/cache-manifest .manifest"

求教报错原因

ringa_lee
ringa_lee

ringa_lee

全員に返信(1)
Peter_Zhu

CACHE:
index.html

当中少个冒号

いいねを押す +0
人気のチュートリアル
詳細>
最新のダウンロード
詳細>
ウェブエフェクト
公式サイト
サイト素材
フロントエンドテンプレート
私たちについて 免責事項 Sitemap
PHP中国語ウェブサイト:福祉オンライン PHP トレーニング,PHP 学習者の迅速な成長を支援します!