It indeed uses Applet tag, dtfx.js script generates the required Applet tag. It generates two <div> sections. The first section shows the spinning java logo and second sections embeds the Applet. First the spinning logo is shown, when applet is loaded, its visibility status is changed to false.

The generated html tags will be as shown below, which has embedded Applet tag

hi rakesh i converted another demo from flash to JavaFX please see i start working on my small website on which i will post article and demos just for learning purpose.
i have some questions
In flash there is function loadLibrary(.swf) that will loadd swf at user request this is very useful function suppose there is a contact link button in website and user is not intererted in viewing that so it is ineffecient to load that jar file can we do that kind of stuff in javafx on user request the demo will be loaded and shown in progress bar..

@Farrukh Your demos look cool! JavaFX does not directly provide loadLibrary like functionality. I tried to get some info from engineers, basically I wanted to explore feasibility of using custom ClassLoaders. But not fully successful yet.