HKH

html knowhow

textarea - Textbox









Ein textarea-Element ist ein mehrzeiliges Eingabefeld (textarea = Textbereich). Es dient z. B. der Eingabe von mehrzeiligen Texten, etwa Kommentaren, Forumsbeiträgen oder Benachrichtigungen.


textarea - Textbox
Befehl Beschreibung Werte Beispiele 
<textarea> textarea {caret-color: red;width: 50em;height: 15em;border: 1px solid #cccccc;padding: 0.5em;font-family: Tahoma, sans-serif;}
textarea:focus {background: #FFC;}
<textarea>
<td><th>
<meta>
<track>
<option>      
<optgroup>      

cols

Specifies the visible width of a text area

   

colspan

Specifies the number of columns a table cell should span

 

content

Gives the value associated with the http-equiv or name attribute

 

label

Specifies the title of the text track

 

wrap

Specifies how the text in a text area is to be wrapped when submitted in a form