Jinyu Zhao
Jinyu Zhao

Reputation: 11

How to change input tag to textarea tag

I am using spring to connect .html file and controller. Now, I have . But I want to change it to be a text area tag. I'm using .html file and not a .jsp file.

Upvotes: 0

Views: 162

Answers (1)

M.Hamza Mehmood
M.Hamza Mehmood

Reputation: 123

The code for input text is :

<input type="text" name="field1" id="field1" />

You can convert it to textarea as below :

<textarea name="field1" id="field1"> 

</textarea>

Upvotes: 1

Related Questions