Text Area, Border in Form


Text Area Tag in HTML
<html>
<body>
<title> Text Area with multi line</title>
<textarea rows="10" cols="30">
At www.karantips.com you learn HTML Tutorial, WWE Raw Live results
and many more</textarea>
</body>
</html>
OUTPUT

Note:- The <textarea> tag defines a multi-line text input control.
A text area can hold an unlimited number of characters, and the text renders 
in a fixed-width font.
The size of a text area can be specified by the cols and rows attributes, 
or even better; through CSS' height and width properties.
Text area tag in HTML

The <fieldset> tag is used to group related elements in a form.
The <fieldset> tag draw a box around the related elements.  Draw a Border Around Form-Data
<html>
<body>
<form >
<fieldset>
<legend>Personal information:</legend>
Name: <input type="text" size="50"><br>
Father name <input type="text" size="50"><br>
Date of birth: <input type="text" size="20">
</fieldset>
</form>
</body>

</html>
Output
Personal information: Name:
Father name
Date of birth:





No comments:

Post a Comment