+ 1

How to insert image tag in textarea in html code

I want to add tags in textarea like images etc. in html code ... But I didnt find an way to do that Can anyone help me and let me know how to do it https://code.sololearn.com/WT801p1mTu7F/?ref=app

20th Aug 2020, 12:34 PM
Sousou
Sousou - avatar
3 ответов
+ 3
This is code. If you have any questions, write me. https://code.sololearn.com/W2Mrx0Xjlte0/#html
20th Aug 2020, 12:54 PM
Galstyan
Galstyan - avatar
+ 1
textarea is filled by user and user can only input texts in textarea . You can use drag and drop api to put image in textarea .
20th Aug 2020, 12:55 PM
Divya Mohan
Divya Mohan - avatar
+ 1
Textarea is not a container tag hence not allow other tags inside it. It just provide multiple line input area to user.
20th Aug 2020, 1:01 PM
Divya Mohan
Divya Mohan - avatar