HTML <textarea> název Atribut
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 name
určuje název textové oblasti.
Atribut name
se 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>