how to take in space and enter as it is in a textarea
white-space: pre-wrap;
how to take in space and enter as it is in a textarea
white-space: pre-wrap;
textarea adds unwanted spaces
<!-- Most likely, this is the problem.
You've probably written something along the lines of: -->
<textarea id="my-textarea" class="textarea-for-page" cols="20" rows="5">
Your Text Here
</textarea>
<!-- However, textareas behave differently from divs, inputs and other
HTML elements. Code like the one above will add a line break, four
blank spaces, "Your Text Here", and another blank space inside of
your textarea.
To avoid this, simply write everything in one single line, and only add
line breaks or white spaces if you want them to show in your page.
To fix the example, the code should be written like this: -->
<textarea id="my-textarea" class="textarea-for-page" cols="20" rows="5">Your Text Here</textarea>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us