input(type="text" id="body" name="body" rows="100" cols="100" maxlength="300" tabindex="100" value="" rows="100" cols="100" autocomplete="off" required)
I have done this but isn't working...
<input type="text" />
elements are single-line only input fields. The Mozilla Web Docs describes them as:
A single-line text field. Line-breaks are automatically removed from the input value.
To have an input that accepts multiple lines, and in order use the rows
and cols
attributes, you need to use a <textarea>
element instead of an <input>
.