20.11.2017 Views

My HTML 5

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>HTML</strong>5<br />

Embedding Audio ................................................................................................................................ 120<br />

Audio Attribute Specification .............................................................................................................. 121<br />

Handling Media Events........................................................................................................................ 121<br />

Configuring Servers for Media Type .................................................................................................... 123<br />

14. <strong>HTML</strong>5 − GEOLOCATION .................................................................................................. 124<br />

Geolocation Methods .......................................................................................................................... 124<br />

Geolocation getCurrentPosition() API ................................................................................................. 125<br />

Geolocation watchPosition() API ......................................................................................................... 127<br />

Geolocation clearWatch() API ............................................................................................................. 129<br />

Location Properties ............................................................................................................................. 131<br />

Handling Errors ................................................................................................................................... 132<br />

Position Options .................................................................................................................................. 133<br />

15. <strong>HTML</strong>5 − MICRODATA ..................................................................................................... 135<br />

Example .............................................................................................................................................. 135<br />

Global Attributes ................................................................................................................................. 136<br />

Properties Datatypes........................................................................................................................... 136<br />

Microdata API support ........................................................................................................................ 137<br />

Defining Microdata Vocabulary ........................................................................................................... 137<br />

16. <strong>HTML</strong>5 − DRAG & DROP .................................................................................................. 139<br />

Drag and Drop Events .......................................................................................................................... 139<br />

The DataTransfer Object: .................................................................................................................... 140<br />

Drag and Drop Process ........................................................................................................................ 141<br />

17. <strong>HTML</strong>5 − WEB WORKERS ................................................................................................. 145<br />

What is Web Workers?........................................................................................................................ 146<br />

How Web Workers Work? ................................................................................................................... 147<br />

7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!