Print4JS - Demo 2: Print Code

This WebApp Demo is an AppLSAC showing one example of print features of WebApps.

HTML Code


HTML in the following pre-code tags needs escaping of characters with the function escape_html(), otherwise the content will be interpreted by the browser.

Print4JS Demo: Highlight Syntax of Code

Hello World for HTML Code

Javascript Code


var test=0.5;
if (test > 0) {
  alert("Value greater zero")
}
<< Demo Applications with Print4JS