I want to add a line break within my input text placeholder.
<div class="form-group">
<input type="text" class="form-control ph" id="" placeholder="Qualification Education Background *">
</div>
I tried with
<div class="form-group">
<input type="text" class="form-control ph" id="" placeholder="Qualification\n</br> Education\n <br>Background *">
</div>
But it doesn't work. Would anyone help me to achieve this?
input can't reach more than one line, so if you wanna make the input multyline use textarea. for make a line break in the placeholder of textarea use html entity-
for example:
<div class="form-group">
<textarea class="form-control ph" rows="5"
placeholder="Qualification Education Background *"></textarea>
</div>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With