J. Taylor
45
Q:

input text multiline

<html>
 <head>
   <title>Textarea Elements</title>
 </head>
 <body>
   <form>
     <label for="multiLineInput"> <!-- Add the label if you want -->
       <p>This is an input element that can include new lines:</p>
       <textarea rows="5" cols="50" id="multiLineInput"></textarea>
     </label> 
     <!-- rows for length, cols for width. Both aren't required -->
   </form>
 </body>
</html>
2
<!-- You need to use a textarea to get multiline handling. -->

<textarea name="Text1" cols="40" rows="5"></textarea>
3
<textarea id="w3mission" rows="4" cols="50"></textarea>
3

New to Communities?

Join the community