Page 1
1 Minute HTML
<button> tag
Page 2
<button> for
an arbitrary button
Page 3
<button> can create
a submit button
Page 4
where you jump to an
action page
Page 5
<button> also creates
a button triggering JavaScript
Page 6
For example,
JavaScript to pop-up message
Page 7
<button> and <input>
for submit buttons
Page 9
both has type=“submit”
Page 10
</button> is necessary
Page 11
button’s display text
Page 12
button’s name & value
appear in query string
Page 14
Pressing the submit button…
Page 15
You jump to the action page
Page 16
name and value in
query string
Page 17
<button> to trigger
JavaScript
Page 18
button’s display text
Page 19
alert() is a JavaScript function to
pop up an alert window
Page 20
onclick executes JavaScript when
the button is clicked
Page 21
Clicking the button…
Page 23
Pops up an alert
This is an Alert