Text area error in creating a survey form

i have created a text area input within the ‘survey-form’ but still have this error…why?

probably it wants a textarea element, not an input

Hello! Nice to see you back in the forum @shivamborkotoky69 !

Here is a link that may help to understand the textarea element tag a bit better.

May your coding path be smooth.

1 Like

Hi @shivamborkotoky69,
The textarea element was requested but you provided a textarea as type attribute value in an input tag.

Just like how you created an input tag within a label. Do same to create a textarea. However, unlike input tag, a textarea element requires a closing tag as it is not self-closing.

:+1: and happy coding.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.