Thursday, 5 July 2012

TEXT AREA


textarea

A multi-row text area form element. The initial value of the text area can be placed in between the opening and closing tags.

Required Attributes
  • rows is used to define the number of viewable rows.
  • cols is used to specify the number of viewable columns.
Optional Attributes
  • name can be used so that the value of the element can be processed.
  • disabled can be used to disable the element. It must be used in the format disabled="disabled".
  • readonly can be used to specify that the value of the element can not be changed. It must be used in the format readonly="readonly".
  • accesskey can be used to associate a keyboard shortcut to the element.
  • tabindex can be used to specify where the element appears in the tab order of the page.
Example

<form action="somescript.php" />
        <p>Your address</p>
        <div><textarea name="address"cols="30" rows="4"></textarea></div>
        <div><input type="submit" /></div>
</form>

No comments:

Post a Comment

Physics basic inventions and inventors

1.Which instrument is used to measure altitudes in aircraft's ? Audiometer Ammeter Altimeter Anemometer Explanation : ...