How to use the <textarea> element for input multi-line text in HTML

2 Answers

0 votes
<!DOCTYPE html>
<html>
<body>

<h1>HTML select Element</h1>

<form action="save.php" method="post"> <!-- Note: 404 That page (save.php) doesn't exist -->
   <textarea name="information" rows="7" cols="35">
The HTML 'textarea' element represents a multi-line plain-text editing control.
   </textarea>
  <br /><br />
  <input type="submit">
</form>

</body>
</html>

 



answered Jan 1, 2019 by avibootz
0 votes
<!DOCTYPE html>
<html>
<body>

<h1>HTML select Element</h1>

<form action="save.php" method="post"> <!-- Note: 404 That page (save.php) doesn't exist -->
   <textarea name="information" style="width:300px; height:200px;">
The HTML 'textarea' element represents a multi-line plain-text editing control.
   </textarea>
  <br /><br />
  <input type="submit">
</form>

</body>
</html>

 



answered Jan 1, 2019 by avibootz
...