JavaScript EditorDebugger script     Dhtml css 



Team LiB
Previous Section Next Section

Creating Text Area Boxes

The TEXTAREA element lets you create a text area box. A text area box differs from a text box in that it lets visitors enter several lines of text. It can be especially useful for allowing visitors to send you comments or other feedback. Enter the following code as an example of creating a text area box that a visitor can use for typing comments (see Figure 7.10):

<p>Comments:</p>
<p><textarea name="Comments" rows="5" cols="50">
</textarea></p>
</form>
Click To expand
Figure 7.10: A text area box differs from a text box in that it enables visitors to type several lines of text.

Although not shown in the previous example, you can include default text in your text area box by nesting text between the TEXTAREA start and end tags. This must be straight text with no HTML codes.


Team LiB
Previous Section Next Section


JavaScript EditorDebugger script     Dhtml css