I have an HTML textarea with a "placeholder" attribute that includes the code for a line break, &\#10;
. It works fine on Chrome, but the line break is ignored on other browsers. What is causing this inconsistency, and how do I work around it?
Include the line break naturally with the keyboard enter? Like it is shown in this image, click to see it.
If it does not work, try inserting your place holder text via javascript?
See Insert line break inside placeholder attribute of a textarea?
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