score:9

Accepted answer

i think the issue is here,

//input is an empty tag and you have provided submit as children here
<input type="submit">submit</input>  

it should be simply this,

<input type="submit" value="submit" />

score:3

ravibagul91's answer is correct. input is self-closing element. you cannot have children in it.

alternatively, you may use button:

<button type="submit">submit</button>

to this:

<input type="submit" value="submit" />

Related Query

More Query from same tag