HTML Textarea tag | Sakala Code
Sakala Code 1 year ago
sakalacode #html

HTML Textarea tag

HTML <textarea> tag is used to create a multi-line text input field. It allows users enter large amounts of text, such as comments, descriptions, messages etc. Unlike the <input> tag, which is used for single-line text input, <textarea> supports multiple lines and provides scrollbars if the text exceeds the visible area.

HTML Textarea tag

Multi-line Input Allows users to enter and edit multiple lines of text.

HTML <textarea> Tag Attributes

  1. rows: The Enter number of visible text area.
  2. cols: The number of visible characters Every line.
  3. placeholder: Displayed message the text area is empty.
  4. name: Defines the name of the textarea, which is used to reference form data after submission.
  5. disabled: Disables the textarea, not write any think.
  6. readonly: the textarea read-only; users cannot modify the data.
  7. maxlength: Set Limits the number of characters can be entered in this textarea.

HTML <textarea> Tag with Example

<form action="/submit" method="post">
  <label for="comment">Comment</label>
  <textarea id="comment" name="comment" rows="4" cols="50">
  </textarea>
  <input type="submit" value="Submit">
</form>
0
396

HTML Video element

HTML <video> element is used to embed video content into a web page. The <audio> tag is su...

1709870648.png
Sakala Code
1 year ago
HTML Canvas Tag

HTML Canvas Tag

1709870648.png
Sakala Code
1 year ago
Php Superglobals Session

Php Superglobals Session

1709870648.png
Sakala Code
1 year ago
HTML area tag

HTML area tag

1709870648.png
Sakala Code
1 year ago
Php Named Arguments Examples

Php Named Arguments Examples

1709870648.png
Sakala Code
1 year ago