Is it possible to create check boxes inside textarea component? I am using simple html and css. I know we can do with tables. But can we do it in textarea?
Asked
Active
Viewed 5,873 times
0
-
1It is not possible textarea is self an input field, What you want to achieve? – Awais Usmani Jan 29 '14 at 07:42
-
`The HTML – Ron van der Heijden Jan 29 '14 at 07:42
-
do you mean adding checkbox values to textarea – Shinto Joseph Jan 29 '14 at 07:43
-
Straight answer... no, not possible... – Green Wizard Jan 29 '14 at 07:45
1 Answers
0
No as you cannot use Rendered HTML within a <textarea>
, it's impossible to create a checkbox inside a textarea.
But you could use a <div contenteditable="true">
, to accomplish your goal. See also: Can I embed HTML formatting inside of a <textarea> tag? and Convert html tag in textarea to rich text

Community
- 1
- 1

Jacob van Lingen
- 8,989
- 7
- 48
- 78