asp.net mvc - Fontawesome doesn't work in Html.Raw() -
fontawesome not works in html.raw() function in mvc razor view. whats solution that?
@html.raw("<i class=\"fa fa - clock - o\" aria-hidden=\"true\"></i>:");
when written code on visual studio automatically few wrong space might applied that's why problem cause. try replacing code bellow think should working.
correct format is-
class=\"fa fa-clock-o\"
not
class=\"fa fa - clock - o\"
@html.raw("<i class=\"fa fa-clock-o\" aria-hidden=\"true\"></i>:");
Comments
Post a Comment