Textarea label is that we often use an HTML tag, mainly in the input text, can realize a newline, etc. Below quoted one of his basic use: textarea tag line - on behalf of the HTML form many input fields textarea tags come in pairs, with <Textarea> Start to </textarea> End attributes: Common, general cols attribute, multi-line column number of the input field rows - the accesskey multiline input field lines form the shortcut access disabled - input fields cannot get focus, unable to choose, and displayed in gray, does not have any effect in the form readonly - input field can choose, but you can't modify the tabindex, input fields, use " Tab" Traversal sequence of key use cases as follows: Html:

 


code is as follows:


<The form id="textareaDem" action="#" method="post" > <The textarea cols="50" rows="10" id="contactus" name="contactus >" Tag line </textarea> </form> Can tell the code is copied to the local test. Question, if the two <Textarea> </textarea> Write the effect will be not in one line, such as the branch is not the same code

 


code is as follows:


<The form id="textareaDemo" action="#" method="post" > <Textarea> This is the textarea label not on the line to see the effect will be different </textarea> </form> Will find: the start code display is left aligned, and the next, will display center. So it is important to note that when using the textarea textarea tags in the text is relatively the textarea, textarea equivalent to provides an editor area, this area is followed by a textarea, so-called wysiwyg. As long as the two label is not in a line, at this moment </textarea> Blank will be before his recognition for blank text, you will find your mouse pointer to edit will not in the text at the beginning or close to flashing text. So take good use of this tag, know where to start solving problems. Say a bit of a mess, experiments under small should be able to understand. Ha ha 0 _ *


This concludes the body part