- 两个选择器API
document.querySelector()
document.querySelectAll()
- 地理定位API
getCurrrentPosition()
- 多媒体API
<video></video>
<audio></audio>
- 拖放
<div ondrop="drop(event)" ondragover="allowDrop(event)"></div>
<div draggable="true" ondragstart="drag(event)"></div>
- 文件
window.requestFileSystem()
- XHR2
var xhr = new XMLHttpRequest();
xhr.open(“POST”,"@Url.Action(“Upload”)")
- 本地存储API
localStorage sessionStorage
- canvas
<canvas id="myCanvas" width="200" height="100">
- svg
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red" />
</svg>