![]() | ![]() |
Define a multiline text field in a form. The user can enter text inside this
field. There is no limit on the numer of characters a user can enter.
The text that is inside this container will be used as the default text.
This tag is only valid inside the FORM tag. |
![]() | |||||||||||||
ALLCAPS![]() |
Use the allcaps attribute to set the caps mode for the on-screen keyboard so that text the viewer types defaults to capital letters. | ||||||||||||
AUTOACTIVATE![]() |
Use the autoactivate attribute to activate the text area automatically when the
viewer selects it. The WebTV interface draws the cursor in the activated text
area.
When the autoactivate attribute is not specified for a text area, the viewer must press the GO button on the remote control (or Return on a keyboard) to activate the text area for typing. Also, when autoactivate is not specified, the arrow buttons on the remote control move the Highlight rectangle to the next selectable item on the Web page. When the autoactivate attribute is specified for a text area or when the viewer has activated the area, the viewer can type in the text area and use the arrows to move the text cursor within the area. | ||||||||||||
AUTOCAPS![]() |
Use the autocaps attribute so that the first letter of each word that the viewer types with the on-screen keyboard is a capital letter. You can use the autocaps attribute on text areas used for proper names and addresses. | ||||||||||||
BGCOLOR![]() |
Use the bgcolor attribute to set the background color for the text area. The
WebTV HTML interface accepts color values in either #rrggbb or color name
format. The default value for bgcolor is #eaeaea.
See the page Using colors for a description on specifying colors. | ||||||||||||
COLS![]() ![]() ![]() |
Set the number of columns the textwindow will occupy on the screen. | ||||||||||||
CURSOR![]() |
Use the cursor attribute to set the color for the cursor in the text area. The
WebTV HTML interface accepts color values in either #rrggbb or color name
format. The default value for the cursor is dark blue (#3333aa), though many
pages override this value with yellow.
See the page Using colors for a description on specifying colors. | ||||||||||||
GROWABLE![]() |
Use the growable attribute to allow the text area to expand vertically as the viewer types beyond its original boundary. | ||||||||||||
NAME![]() ![]() ![]() |
The name of the element inside the form. The name is sent to the server to identify the field. | ||||||||||||
NOHARDBREAKS![]() |
Use the nohardbreaks attribute to prevent the viewer from entering hard breaks in the text area. When the viewer does type a Return, the selection simply moves to the next field. | ||||||||||||
NOSOFTBREAKS![]() |
Use the nosoftbreaks attribute to prevent the WebTV interface from sending soft breaks when the form is submitted. Soft breaks are inserted in the text for linewrapping in text areas. | ||||||||||||
NUMBERS![]() |
Use the numbers attribute so that when the WebTV interface displays the on-screen keyboard, the ‘1’ key is selected. This reduces the time the viewer spends to move the Highlight rectangle to the numeric keypad of the on-screen keyboard. | ||||||||||||
ROWS![]() ![]() ![]() ![]() |
Set the number of rows the textwindow will occupy on the screen. | ||||||||||||
SHOWKEYBOARD![]() |
Use the showkeyboard attribute to show the keyboard automatically when the viewer selects the text area. | ||||||||||||
USESTYLE![]() |
Use the usestyle attribute so that the text in the text area is rendered in the current style in effect for the page. | ||||||||||||
WRAP![]() ![]() |
Determines how text will wrap onscreen and how the data is send to the server.
The default setting is OFF. |
![]() | ![]() |
Source: | <FORM> <TABLE> <TR> <TD>Article number</TD> <TD><INPUT TYPE=TEXT></TD> </TR> <TR> <TD VALIGN=TOP>Description</TD> <TD><TEXTAREA COLS=40 ROWS=10> Enter the description here</TEXTAREA></TD> </TR> </TABLE> </FORM> |
Result: |