Font awesome icons disable getting square only

593 views Asked by At

I have added font awesome icons in my html page for data table plugin UI using css

<link rel="stylesheet" type="text/css" href="/js/datatable/pratik/font-awesome.min.css"/>
<link rel="stylesheet" type="text/css" href="/js/datatable/font-awesome.css" />

But due to some errors I changed all symbols into special escape characters. May be that's why it's showing blank square.Any trick to resolve this error. My code for font awesome icon is:

 text: &#39;&lt;i class=&quot;fa fa-list-ol-3x&quot; aria-hidden=&quot;true&quot; style=&quot;color:#81ad30&quot;&gt;&lt;/i&gt;&#39;,

Output showing icons

Thanks.

0

There are 0 answers