code: public Label htmlLabel(String html) {
  
          Label label = new Label();
          label.setContentMode(ContentMode.HTML);
          label.setValue(html);
          return label;
  
      }
docs: Creates a new HTML-formatted label with the given content.
  
  @param html the label content