// References / HTML Textarea Tag

Posted The: 02/09/2008 - AT: 9:15

The textarea element in html is used togetter with forms to submit data to the server, sometimes it may also be used to show code examples.

Warning

When using the textarea to submit data, be sure to use server-side validation as well as client-side.

Attributes

Standard Attributes.

Attribute:Value:Description:DTD:
AttrsOther AttributesCommon, I18n, EventSTF
nameCharacter Dataname of elementSTF
rowsGET|POSTRows of textarea.STF
colsContentTypeColumns of textarea.STF
disableddisableddisables the elementSTF
readonlyreadonlySTF
tabindexNUMBERPosition in tabbing order.STF
accesskey{CHARACTER}Key for accessibility.STF
onfocusScriptThe element got the focus.STF
onblurScriptThe element lost the focus.STF
onselectScriptSome text was selected.STF
onchangeScriptThe elements value was changed.STF

DTD. Defines which document type the attribute is allowed. S=Strict, T=Transitional, F=Frameset.

Example

<p><textarea cols="40" rows="5" name="textmsg"></textarea></p>

Stumble It!

Author: BlueBoden

Comments: [0]

  1. HTML Tutorial
  2. CSS Tutorial
  3. XHTML Tutorial
  4. RSS Tutorial
  5. PHP Tutorial
  6. htaccess Tutorial
  7. Server Tutorial
  8. SEO Tutorial

Checked At:07:42

4 Guests

0 Users

Online doing the past 15 Minutes!

PageRanking.dk - Flere hits og højere PageRank - GRATIS tilmelding!

This page was created in 0.075334072113 seconds

Welcome Guest