HTML and CSS Reference
In-Depth Information
date of files or groups of files. The specification also defines a
Blob
for interfacing
with raw binary data, which may be inspected for size and type and sliced into chunks.
The File API deals with files that could appear in the web browser through a web form's
file input type or even through dragging and dropping a file from the user's system to
with the user's local file system. Obviously, this has security implications, so the file sys-
tem exposed is sandboxed so web applications don't have unrestrained power to intrude
into a user's computer. The Writer API does what you would expect; it defines how files
or blobs of raw data can be written to the file system. It also defines a
FileWriter-
Sync
interface for working with writing files in conjunction with the Web Workers API.
Useful web resources
The following websites are resources you may find useful when developing with
HTML5:
•
W3C's Working Draft HTML5 specification
:
http://w3.org/TR/html5/
•
WHATWG “living" HTML specification
:
www.whatwg.org/specs/web-
•
Html5.org
: Includes a HTML5 validator and a tracker for changes to the
WHATWG specification:
http://html5.org
•
Html5rocks.com
: Includes an online code editor playground and slide presenta-
tion made entirely with HTML5 technologies:
http://html5rocks.com
__________
7
See
www.w3.org/TR/wai-aria/
.
8
See
www.w3.org/TR/FileAPI/
.
9
See
www.w3.org/TR/file-system-api/
.
10
See
www.w3.org/TR/file-writer-api/
.
•
Html5doctor.com
: Contains informative articles about HTML5 as well as a
comprehensive element reference;
http://html5doctor.com
•
Caniuse.com
: Compatibility tables for HTML5, CSS3, and related technolo-
gies:
http://caniuse.com
•
Html5test.com
: Browser score for HTML5 and related feature support:
ht-
Search WWH ::
Custom Search