Post on 15-Apr-2017
1 Minute HTML
<form> basics
HTML form with
one submit button
A form usually has one
“submit” button
If you press it…
… you jump to a different page
Let’s see how
<form> works
“action” is a file,
which processes submitted data
It’s usually NOT an .html file
Rather, a server-side
program file, like .php
However, we are using .html
for demo
“method” is either “get” or “post”
Later lessons will explain difference
between “get” and “post
input type=“submit” creates
a submit button
“value” is the display text
of the button
Create action.html
Rendering in the
browser
Press the button
URL also changed to
action.html