Chapter     8

JavaFX on the Web

JavaFX provides capabilities to interoperate with HTML5 content. The underlying web page–rendering engine in JavaFX is the popular open-source API called WebKit. This API is used in Apple’s Safari browsers, Amazon’s Kindle devices, and was used in Google’s Chrome browser prior to version 27 (the WebKit fork called Blink). HTML5 is the newly accepted standard markup language for rendering content in web browsers. HTML5 content consists of JavaScript, CSS, Scalable Vector Graphics (SVG), Canvas API, Media, XML, and new HTML element tags.

The relationship between JavaFX and HTML5 is important because they complement one another by drawing from each of their individual strengths. For instance, JavaFX’s rich client ...

Get JavaFX 8: Introduction by Example, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.