代码示例:(标识:eg_html5_html_manifest)
<!DOCTYPE html>
<html manifest="/static/demo/html/js/demo_html.appcache">
<body>
<script type="text/javascript" src="/static/demo/html/js/demo_time.js">
</script>
<p id="timePara"><button onclick="getDateTime()">获得日期和事件</button></p>
<p><img src="/static/demo/images/souxun_banner.jpg" /></p>
</body>
</html>
运行结果: