Question: I am looking for a way in which I can create an input, in which you can enter multiple lines of code. The standard `input="text"` doesn't work since it is a single line.

Answer: 
For multiple line input you can use 
`<textarea name="field_name"></textarea>`
instead of `<input type="text">`
Try this out 

```
<textarea rows="4" cols="50" name="comment" form="usrform">
Enter text here...</textarea>

```

and refer <http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_textarea_form>