Welcome Guest! (App Version 5.16)

websitnero logo name

HTML Textarea

Overview

  • <textarea> tag makes a textarea in HTML Form.
  • Textarea provides a user with a multi-line text-editing box where he can enter data such as residing address, comment on a post, or review of a movie.

Textarea in HTML

Textarea in HTML Forms serves the purpose when user has to enter large amount of text which might not be suitable for <input type="text">. Textarea provides another entry just like input boxes but with greater amount of data. Common use-cases can be allowing users to enter review or comments on some post or providing multi-line address.

Example

<textarea rows="5" cols="20"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam porttitor ultrices dignissim. Quisque et ex interdum, tristique ante non, finibus leo. Phasellus rutrum lorem vitae odio placerat egestas. Proin vestibulum pretium risus, non hendrerit mauris. Pellentesque a mollis tellus. Duis elit leo, gravida at volutpat at, placerat eget ex. </textarea>
<textarea rows="10" cols="10"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam porttitor ultrices dignissim. Quisque et ex interdum, tristique ante non, finibus leo. Phasellus rutrum lorem vitae odio placerat egestas. Proin vestibulum pretium risus, non hendrerit mauris. Pellentesque a mollis tellus. Duis elit leo, gravida at volutpat at, placerat eget ex. </textarea>

Output:

Further Reading

1. <textarea>

WebsiteNero is highly optimized for learning various website developing technlogies. We try our best to add maximum modules and examples to help learn the concepts clearly and vividly. We try to present all content and examples as simple as we can removing any complexity to hurdle easy understanding. We try best provide you with worthful content, but we cannot guarantee full correctness of all the content on this site. While using this website, you agree to have read and accepted all our terms of use and conditions, cookie, and privacy policy. Copyright, 2013-2018 by websitenero.com. All Rights Reserved.