Why code is shown inside textarea?

I want to create a textarea that is a certain size, but I can’t get the height to work via CSS or HTML. And for some reason inside the textarea there is the whole bunch of code, which I don’t know how to make it so it won’t show that. Can anyone help?

Survey Form

Hello there.

The reason you have code inside your textarea is that you have not closed the element with a closing tag, and HTML thinks the code that follows is the placeholder text for the textarea.

I am not sure why you are not able to change the size, as I can on your CodePen.

Hope this helps

1 Like