I'm having a particular issue: How do I go about inserting a fa-user icon into my textbox?
Here is the code in question:
@Html.AntiForgeryToken()
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
<div class="row">
<div class="container col-md-12">
<i class="fa fa-user col-md-12" aria-hidden="true"></i>
@Html.TextBoxFor(m => m.UserName, new { @class = "form-control" })
@Html.ValidationMessageFor(m => m.UserName, "", new { @class = "text-danger" })
</div>
</div>
The "i" element doesn't seem to be appearing on my website when viewed in a browser. Is it not possible to include this icon on my site?