SiteExperts.com Logo Home | Community | Developer's Paradise | Jobs
User Groups | Site Tools | Site Information | Search
 Main Menu
 HTML Online

HTML Tables

Form Elements
  Input Elements
  Select Elements
  TextArea Element
  Button Element
  Grouping and Labeling
  Form Element

Images and Objects

 


Sponsored Links

HTML TextArea Element

The <TEXTAREA> element is very similar to the <INPUT> text box but allows multiple lines to be entered. There also is a distinction between defining an INPUT and TEXTAREA element - the INPUT element's value is defined using the value attribute, while the TEXTAREA element is a container whose value is defined by its contents:

  <TEXTAREA>
    Initial Contents
  </TEXTAREA>
  <INPUT TYPE="text" VALUE="Initial Contents">

The size of the textarea control is defined by the rows and cols attributes. Also, similar to the INPUT element you can disable and make the contents of the text area read only. You can experiment with these different attributes below: IE4 Only

<TEXTAREA>
  Sample Text
</TEXTAREA>
<TEXTAREA ROWS=5 COLS=15>
  Sample Text
</TEXTAREA>

Form Button Element...

Copyright © 1997-2008 InsideDHTML.com, LLC. All rights reserved.