摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <form action="demo.asp" method="get"> webpage:<input type="url" na 阅读全文
posted @ 2020-08-18 22:08 DurianTRY 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1.email <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <!-- type 可为email、url、Number number可设置最大最小值 <input type="n 阅读全文
posted @ 2020-08-18 22:00 DurianTRY 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 1.简介 Server-Sent 事件指的是网页自动获取来自服务器的更新。 Internet Explorer不支持 2.demo.php文件 <?php header('Content-Type:text/event-stream');//服务器端事件流 header('Cache-Control 阅读全文
posted @ 2020-08-18 18:02 DurianTRY 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1.简介 web worker 是运行在后台的 JavaScript,独立于其他脚本,不会影响页面的性能。Internet Explorer不支持web worker。 2.worker.js文件 var i=0; function count(){ i=i+1; postMessage(i);// 阅读全文
posted @ 2020-08-18 17:43 DurianTRY 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 每个指定了 manifest 的页面在用户对其访问时都会被缓存。如果未指定 manifest 属性,则页面不会被缓存(除非在 manifest 文件中直接指定了该页面) <html manifest="demo.appcache"> manifest 文件可分为三个部分: CACHE MANIFES 阅读全文
posted @ 2020-08-18 17:13 DurianTRY 阅读(190) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-08-18 16:55 DurianTRY 阅读(372) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <canvas id="ca1" width="400" height="400" style= 阅读全文
posted @ 2020-08-18 16:11 DurianTRY 阅读(372) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-08-18 15:51 DurianTRY 阅读(201) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-08-18 15:50 DurianTRY 阅读(90) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-08-18 15:27 DurianTRY 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 1.修改配置文件/etc/profile后,需要使用以下语句使其生效 source /etc/profile 2.为eclipse增加桌面图标,其他应用也适用 在/usr/share/applicationsr/share/applications下新增eclipse.desktop文件,插入一下语 阅读全文
posted @ 2020-08-18 09:25 DurianTRY 阅读(370) 评论(0) 推荐(0) 编辑