About 10,300,000 results
Open links in new tab
  1. Creating a textarea with auto-resize - Stack Overflow

    Jan 18, 2009 · Learn how to create a textarea that automatically resizes based on the content entered.

  2. css - Format text in a <textarea>? - Stack Overflow

    Oct 11, 2012 · Textareas are great because of some built in functionality (scrollbars). How can I format &lt;spans&gt; of text inside of the &lt;textarea&gt;?

  3. How to change the Content of a <textarea> with JavaScript

    Apr 26, 2017 · How would I change the content of a <textarea> element with JavaScript? I want to make it empty.

  4. How do I preserve line breaks when getting text from a textarea?

    Nov 4, 2016 · Learn how to preserve line breaks when retrieving text from a textarea in HTML forms.

  5. Should I size a textarea with CSS width / height or HTML cols / rows ...

    Oct 9, 2010 · The size of a textarea can be specified by the cols and rows attributes, or even better; through CSS' height and width properties. The cols attribute is supported in all major browsers.

  6. javascript - Textarea Auto height - Stack Overflow

    Check this similar topics too: Autosizing textarea using Prototype Textarea to resize based on content length Creating a textarea with auto-resize

  7. Get textarea text with JavaScript or jQuery - Stack Overflow

    Learn how to retrieve text from a textarea using JavaScript or jQuery with practical examples and solutions.

  8. html - How can I make a TextArea 100% width without overflowing …

    Nov 7, 2008 · I really like this answer. It makes the textarea snap to fit without any magic percent numbers less than 100%. You can use padding on all sides in the wrapper to force the text area to …

  9. How to add a new line in textarea element? - Stack Overflow

    I want to add a newline in a textarea. I tried with \\n and &lt;br/&gt; tag but are not working. You can see above the HTML code. Can you help me to insert a newline in a textarea? &lt;textarea cols...

  10. Can I embed HTML formatting inside of a <textarea> tag?

    I am pretty sure the answer is no -- cannot do it with a textarea. From the MDN docs: The HTML <textarea> element represents a multi-line plain-text editing control. Permitted content Text