html - how do i add permanent place holder inside input filed -
i need add font-icon
inside input field used method
<input type="text" name="your name" placeholder=" name" style="font-family:flaticon" class="restrict">
as see placeholder=" name"

display font-icon
problem when user types text place holder disapper need font icon placed permanent inside input field <lable>
can me
you can't. expect like? placeholder
disappears by design.
if want to prefix icon in front of input field, put them in container, give container needed style , put there icon , input
-tag. that's way, how bootstrap problem solves.
shortened example:
<div class="input-group"> <div class="input-group-addon">$</div> <input type="text" class="form-control" id="exampleinputamount" placeholder="amount"> </div>
of course, need css.