Textarea
Example
5.7 - Form: textarea - Example 5.7
<form method="post" action="https://cs12.net/form/submit.php">
<strong>Comments </strong>
<textarea name="comments" rows="10" cols="50">Please enter comments... </textarea>
<button type="submit">Submit Information </button>
</form>
In style
element
(<style>
) within head
element:
textarea {
display: block;
margin: 1rem 0;
}