Answers for "html input multiline textbox"

6

html create a multi-line text input

<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>
Posted by: Guest on March-10-2020
1

textbox 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>
Posted by: Guest on October-11-2020

Browse Popular Code Answers by Language