COMPUTER LECTURES

HOME About us HTML ONLINE CODE EDITOR CONTACT US
HTML | TEXT AREA
The textarea tag defines how a large text input can be written for longer messages.

SYNTAX

OPENING TAG CLOSING TAG
<textarea> </textarea>

Textarea Tag in HTML

<textarea type="textarea" name=" " rows=" " cols=" ">

Example : textarea.html

<!DOCTYPE html>
<html>
<title>Computer lectures | Textarea</title>
<body>
<form>
Message: <textarea type="textarea" name="message" rows="10%" cols="50%" class="form-control" placeholder="Computer lectures | Write message here ..." required="required" id="success"></textarea>
</form>
</body>
</html>

The output on the web broswer

Textarea