code: public static HtmlPlatform register(Config config) {
      HtmlPlatform platform = new HtmlPlatform(config);
      PlayN.setPlatform(platform);
      platform.init();
      return platform;
    }
docs: Prepares the HTML platform for operation.
  
  @param config platform-specific settings.