Tutorials

KodeKite Tools

HTML
Flexbox
SVG
Canvas
HTML Tutorial

More


HTML Input Submit
Input Submit

Input submit type is used to create simple submit button, input is open tag. Submit is used in forms and submit data it has also value attribute so you can change value of sumit button.

Syntax

<input type=submit value=button name />


You can use submit in forms and any where within an HTML document.


Example


Input is unpair tag and output of sumit is button like you can see in above example.


Practice Task

Open notepad or any other text editor, follow the following points.


  • Create a form
  • Create one text field for input
  • Use input type submit with value=Register

save file with name task.html or task.htm and then open it using any browser and see results.


Solution




Don't forget input is empty element which means it always comes in single not in pair.