How to insert <textarea> inside <input> in a <form> ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to insert <textarea> inside <input> in a <form> ?

I've been trying to do this and the output would be two holders of text the one from the input and the other from the textarea.. if anyone knows how i could fix this please let me know and thanks in advance.

26th Mar 2022, 8:05 PM
Syrine Ayedi
Syrine Ayedi - avatar
2 Answers
+ 2
Syrine Ayedi textarea is already a input box with multiline statement. Then why you need this? <input type = "text" name = "name" value = "" /> <textarea rows = "10" cols = "10"></textarea>
26th Mar 2022, 8:11 PM
A͢J
A͢J - avatar
+ 2
A͢J thank you sm i forgot about the fact that it's already an input box 😅
26th Mar 2022, 8:13 PM
Syrine Ayedi
Syrine Ayedi - avatar