1 Minute HTML
<button> tag
<button> for
an arbitrary button
<button> can create
a submit button
where you jump to an
action page
<button> also creates
a button triggering JavaScript
For example,
JavaScript to pop-up message
<button> and <input>
for submit buttons
both has type=“submit”
</button> is necessary
button’s display text
button’s name & value
appear in query string
Pressing the submit button…
You jump to the action page
name and value in
query string
<button> to trigger
JavaScript
button’s display text
alert() is a JavaScript function to
pop up an alert window
onclick executes JavaScript when
the button is clicked
Clicking the button…
Pops up an alert
This is an Alert