Question #289   Submitted by Answiki on 12/11/2020 at 07:58:42 PM UTC

How to create a HTML textarea ?

Answer   Submitted by Answiki on 12/11/2020 at 08:05:35 PM UTC

The HTML <textarea> element represents a multi-line plain-text editing control in browser. The following code creates a text area with 4 lines of approximately 33 characters:

<textarea rows="5" cols="33">Default text</textarea>

Depending on you browser, the previous code should display something like:

8 events in history
Question by Answiki 12/11/2020 at 08:07:12 PM
In HTML, how to create a multi-line text input?
Question by Answiki 12/11/2020 at 08:07:04 PM
In HTML, how to create a multi-line text input area?
Question by Answiki 12/11/2020 at 08:06:56 PM
In HTML, how to create a multi-line text input field?
Answer by Answiki on 12/11/2020 at 08:05:35 PM

The HTML <textarea> element represents a multi-line plain-text editing control in browser. The following code creates a text area with 4 lines of approximately 33 characters:

<textarea rows="5" cols="33">Default text</textarea>

Depending on you browser, the previous code should display something like:

Question by Answiki 12/11/2020 at 07:59:00 PM
What is the syntax of HTML textarea?
Question by Answiki 12/11/2020 at 07:58:42 PM
How to create a HTML textarea ?
Answer by Answiki on 12/11/2020 at 07:57:55 PM

The HTML <textarea> element represents a multi-line plain-text editing control in browser. The following code creates a text area with 4 lines of 33 characters:

<textarea rows="5" cols="33">Default text</textarea>

Depending on you browser, the previous code should display something like:

Question by Answiki 12/11/2020 at 07:53:38 PM
What is a HTML textarea?
# ID Query URL Count

Icons proudly provided by Friconix.