GWT meets HTML5 by compiling Java code to optimized JavaScript that can take advantage of HTML5 features like Canvas. GWT uses deferred binding to generate different JavaScript implementations for different browsers to support a wide range of devices from desktop to mobile.