Tag - howtouseiconinplaceholder

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. KeyTheme: <input style="font-family: 'Font Awesome 5 Free'; font-weight: 700;" type="text" class="form-control" id="inputEmail5" placeholder="  Name"> Code Helper: https://codepen.io/rahanaislam/pen/JjbpZPe

Read more...
Translate ยป