Project/Web Study2009/09/08 17:39

The TEXTAREA element creates a multi-line text input control. User agents should use the contents of this element as the initial value of the control and should render this text initially.


This example creates a TEXTAREA control that is 20 rows by 80 columns and contains two lines of text initially. The TEXTAREA is followed by submit and reset buttons.


<FORM action="http://somesite.com/prog/text-read" method="post">
   <P>
   <TEXTAREA name="thetext" rows="20" cols="80">
   First line of initial text.
   Second line of initial text.
   </TEXTAREA>
   <INPUT type="submit" value="Send"><INPUT type="reset">
   </P>
</FORM>


Setting the readonly attribute allows authors to display unmodifiable text in a TEXTAREA. This differs from using standard marked-up text in a document because the value of TEXTAREA is submitted with the form.


출처 : http://www.w3.org/TR/html401/interact/forms.html#h-17.7

2009/09/08 17:39 2009/09/08 17:39
Posted by

Trackback URL : http://skstory.com/blog/trackback/36

  1. hvywnuxs  Delete

    2009/10/19 15:41 Tracked fromhvywnuxs

    hvywnuxs

  2. Alexandria Ibrahim  Delete

    2011/12/13 14:22 Tracked fromAlexandria Ibrahim

    I loved your blog.Thanks Again. Will read on...

Leave your greetings.