textarea 1 row code example
Example 1: textarea only one line
textarea {
resize: none;
white-space: nowrap;
overflow-x: scroll; /* or hidden */
}
Example 2: syntax is being placed in my textarea in html
<textarea name="comment" rows="5" cols="100"></textarea></br></br>