CodeAve.com CodeAve.com - HTML - Forms
ASP
JavaScript
CSS
HTML
·Forms
·Hyperlinks
·Headers
·Images
·Tables
·Text Display
·Miscellaneous
·Contents
·What's New?
Maps
Links
Mail List
Search
Sitemap


 


Text Area
Text Areas allow for the direct input of large amounts of text by the user. Unlike text boxes the text area will allow for many lines of input rather than a single line of input. This is very useful for when you ask users to enter information or opinions on like on a bulletin board.
View the Output
Text View
Print View
Mail this Link
Download the Code

<html>
<head>
<title>
CodeAve.com(Forms: Text Area Box)</title>
</head>
<body bgcolor=
"#FFFFFF">

Basic Text Area Box<br>
<form action=
"post.asp" method="post">
<textarea name=
"Text Area"></textarea>
<input type=
"submit" value="Submit">
</form>
<!-- The basic text area input box -->

<p>
Text Area Box (with a defined width)<br>
<form action=
"post.asp" method="post">
<textarea name=
"Text Area" cols="25"></textarea>
<input type=
"submit" value="Submit">
</form>
<!-- Text Area Input Box with a defined column width
cols="numeric" controls the width in columns of the text area-->

 

<p>
Text Area Box (with a defined height)
<br>
<form action=
"post.asp" method="post">
<textarea name=
"Text Area" rows="8"></textarea>
<input type=
"submit" value="Submit">
</form>
<!-- Text Area Input Box with a defined height
rows="numeric" controls the height of the text area-->

<p>
Text Area Box (with a defined height and width)<br>
<form action=
"post.asp" method="post">
<textarea name=
"Text Area" rows="5" cols="25"></textarea>
<input type=
"submit" value="Submit">
</form>
<!-- Text Area Input Box with a defined height and width
utilize both the rows and cols tags....
rows="numeric" controls the height of the text area
cols="numeric" controls the width of the text area -->

</body>
</html>

 

 

 



ASP: What's New? | Articles | Script Writers | Database Display | Read/Write
Server Variables | Response Objects | Random Events | Miscellaneous
HTML: Forms | Hyperlinks | Headers | Tables | Hyperlinks | Headers | Text Display
JavaScript: Document Info | Forms | Images | Navigation | Script Writers
CSS: Basics | Page Display | Text Display | Script Writers | Miscellaneous
Maps: Map Script Writers | Bing Maps | Google Maps
Privacy Statement

CodeAve.com is hosted by MyHosting.com
Donate Food Online with a Mouse Click at TheHungerSite.com
Donate Land Online with a Mouse Click at TheRainForestSite.com
© 1999 - 2014 CodeAve.com
All Rights Reserved