HTML <textarea> název Atribut

❮ HTML tag <textarea>

Příklad

Textová oblast s atributem name:

<form action="/action_page.php">
  <textarea name="comment">Enter text here...</textarea>
  <input type="submit">
</form>

Definice a použití

Atribut nameurčuje název textové oblasti.

Atribut namese používá k odkazování na prvky v JavaScriptu nebo k odkazování na data formuláře po odeslání formuláře.


Podpora prohlížeče

Attribute
name Yes Yes Yes Yes Yes

Syntax

<textarea name="text">

Hodnoty atributů

Value Description
text Specifies the name of the text area

❮ HTML tag <textarea>