Bootstrap Tutorial - Style a Textarea with Bootstrap








Style a textarea

Form control which supports multiple lines of text. Change rows attribute as necessary.

<!DOCTYPE HTML>
<html> 
<head> 
<link href="http://java2s.com/style/bootstrap.min.css" rel="stylesheet">
</head><!--  w w  w . ja  v  a2s .  c om-->
<body style='margin:20px;'>

    <form class="form-horizontal">
    <textarea class="form-control" rows="3"></textarea>
    </form>
        
</body>
</html>

Click to view the demo