code: private void encodeMarkup(final FacesContext context, final Social social) throws IOException {
          final ResponseWriter writer = context.getResponseWriter();
          final String clientId = social.getClientId(context);
          final String widgetVar = social.resolveWidgetVar();
          final String styleClass = social.getTheme() + " " + StringUtils.defaultString(social.getStyleClass());
  
          writer.startElement("div", social);
          writer.writeAttribute("id", clientId, "id");
          writer.writeAttribute(HTML.WIDGET_VAR, widgetVar, null);
          writer.writeAttribute("class", styleClass, "styleClass");
          if (social.getStyle() != null) {
              writer.writeAttribute("style", social.getStyle(), "style");
          }
          writer.endElement("div");
      }
docs: Create the HTML markup for the DOM.