title: How to get an Html code of an Icon in GWT
body: <p>I'm trying to get an Html code of an Icon. I have tried using get InnerHtml but the output was null.</p>
  
  <pre class="lang-java prettyprint-override"><code>Icon plus = newIcon();
  plus.setType(IconType.PLUS);
  plus.getElement().getStyle().setFontSize(13, Unit.PX);
  String ic =plus.getElement().getInnerHTML();
  GWT.log("HTML: "+ic);
  </code></pre>
  
  <p>Expected Output:</p>
  
  <pre class="lang-java prettyprint-override"><code>&lt;i class="fa fa-plus" style="font-size: 13px;"&gt;&lt;/i&gt;`
  </code></pre>