docs: public static Element createElement(String html) throws Exception {
  
          Element wrapperDiv = DOM.createDiv();
          wrapperDiv.setInnerHTML(html);
          Element elementRoot = wrapperDiv.getFirstChildElement();
          wrapperDiv.removeChild(elementRoot);
          // just in case we have a script tag outside the root HTML-tag
          while ((elementRoot != null) && (elementRoot.getTagName().toLowerCase().equals(Tag.script.name()))) {
              elementRoot = wrapperDiv.getFirstChildElement();
              wrapperDiv.removeChild(elementRoot);
          }
          if (elementRoot == null) {
              CmsDebugLog.getInstance().printLine(
                  "Could not create element as the given HTML has no appropriate root element");
              throw new IllegalArgumentException(
                  "Could not create element as the given HTML has no appropriate root element");
          }
          return elementRoot;
      }