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


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

Share this post

Comment (1)

  • 24-hour junk car buyers near me Reply

    I like the valuable info you provide in your articles. I’ll bookmark
    your weblog and check again here regularly.
    I am quite certain I will learn lots of new stuff right here!
    Good luck for the next!

    July 13, 2022 at 4:50 pm

Leave a Reply

Your email address will not be published.

Translate ยป