Join the List
Bravenet Home
|
Webmaster Tips and Tricks Newsletter Archives
Text Area March 1st, 2000
Do you know how to make a text area? Text areas allow you to type
in a large amount of text so that it doesn't take up as much room on
your page. Your visitor can scroll down the text area to read all the
text in the box. Just include this tag in the body of your HTML, wherever you
want the box to appear. You can change the "rows" and "cols" tag to
make your text area any size you want (be sure to open and close
a form as well):
<FORM><textarea rows="5" cols="20" wrap="virtual">
Put your text here</textarea></FORM>
You can also dress up your text boxes with color. Adding a few style
tags changes the color of the background, and you can also add a
border. You can change the things that you see in bold text, the size
of the box (rows and cols), the font, font color etc. The border color
will be the same as your font color. NOTE: The style attributes will
only work running under MS Explorer 4.0 or higher.
<FORM>
<textarea rows="5" cols="50"
style="background:#your color here"
style="font-family:your font here"
style="color:#your font color here"
style="border style:solid"
wrap="virtual"> Put your text here </textarea>
</FORM>
|
|
Build your very first live Database Driven Website using PHP & MySQL. Instantly apply working code examples from the book to your Website. Get it Now! 295 pages.
|
|
Write faster loading, dramatically smaller pages. ‘Now You Too Can Easily Create Modern 'Table-free' Websites Using CSS from scratch’. Get it Now! 480 pages.
|
|
 |