28.09.2018 Views

HTML5

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

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

<strong>HTML5</strong><br />

<strong>HTML5</strong> − SVG Gradients ........................................................................................................................ 40<br />

<strong>HTML5</strong> − SVG Star ................................................................................................................................. 42<br />

7. <strong>HTML5</strong> − MATHML ............................................................................................................ 44<br />

MathML Examples ................................................................................................................................ 44<br />

Using MathML Characters ..................................................................................................................... 45<br />

Matrix Presentation Examples .............................................................................................................. 47<br />

8. <strong>HTML5</strong> − WEB STORAGE .................................................................................................... 49<br />

Session Storage ..................................................................................................................................... 49<br />

Local Storage ......................................................................................................................................... 50<br />

Delete Web Storage .............................................................................................................................. 51<br />

9. <strong>HTML5</strong> − WEB SQL DATABASE ........................................................................................... 54<br />

The Core Methods ................................................................................................................................. 54<br />

Opening Database ................................................................................................................................. 54<br />

Executing queries .................................................................................................................................. 55<br />

INSERT Operation .................................................................................................................................. 55<br />

READ Operation .................................................................................................................................... 55<br />

Final Example ........................................................................................................................................ 56<br />

10. <strong>HTML5</strong> − SERVER SENT EVENTS ......................................................................................... 58<br />

Web Application for SSE ........................................................................................................................ 58<br />

Server Side Script for SSE....................................................................................................................... 59<br />

Handle Server-Sent Events .................................................................................................................... 60<br />

11. <strong>HTML5</strong> − WEBSOCKETS ..................................................................................................... 61<br />

WebSocket Attributes ........................................................................................................................... 61

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

Saved successfully!

Ooh no, something went wrong!