How to add icon in placeholder

How to add icon in placeholder

You can’t add an icon and text because you can’t apply a different font to part of a placeholder, however, if you are satisfied with just an icon then it can work.

Video Tutorial

KeyTheme:

<input style=”font-family: ‘Font Awesome 5 Free’; font-weight: 700;” type=”text” class=”form-control” id=”inputEmail5″ placeholder=” &#xf007; Name”>

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *

Translate »