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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.