ptg16476052
Workshop 367
12
Tag Use
tel Creates a telephone entry field.
url Creates a URL entry field.
week Creates a week picker.
password Creates a single-line text entry field that masks user
input.
submit Creates a Submit button that sends the form data to a
server-side script.
reset Creates a Reset button that resets all form controls to
their initial values.
checkbox Creates a check box.
radio Creates a radio button.
image Creates a button from an image.
button Creates a pushbutton. The three types are Submit,
Reset, and Push, with no default.
hidden Creates a hidden form control that cannot be seen by
the user.
file Creates a file upload control that enables users to select
a file with the form data to upload to the server.
Workshop
If you’ve made it this far, I’m sure that you still have a few questions. I’ve included a
few that I think are interesting. Afterward, test your retention by taking the quiz, and then
expand your knowledge by tackling the exercises.
Q&A
Q Are there security issues associated with including forms on my website?
A Yes and no. The forms themselves are not a security risk, but the scripts that pro-
cess the form input can expose your site to security problems. Using scripts that
you can download and use on your own site can be particularly risky because mali-
cious people will already know how to exploit any of their bugs. If you are going
to use publicly available scripts, make sure they are approved by your hosting pro-
vider and that you are using the latest release.