WEB PAGES: Create & Maintain Week 12 Creating FORMS
FORM
What happens when I press the Button ?
What happens when I press the Button ? FName=John LName=Smith Computer=PC How=FIOS Website=No ## Fname=Mary Lname=Jones Computer=MAC How=DSL … Guestbook.txt
What happens when I press the Button ? Form is created using HTML Processing of the Information sent by the FORM is completed using a program on the SERVER !
What happens when I press the Button ? All Servers have these programs CGI ( Common Gateway Interface ) Guestbook Program Or you could create your own… PHP AJAX Java JavaScript Perl C, C+, C++, C# Ruby, Ruby on Rails Python VB. Net
What happens when I press the Button ? UDEL has a CGI-Guestbook Program !
FORM TAGS Options: Method Action = POST = Program on the Udel Server
FORM TAGS FORM ELEMENTS Options: Type Name Value Size Width Text Boxes Text Area Boxes Check Boxes Option Boxes Drop Down Boxes Hidden Controls Radio Buttons Reset Buttons Submit Buttons
TEXT BOX
CHECKBOXES
RADIO BUTTONS
TEXTAREABOX
DROP DOWN BOX
RESET BUTTON SUBMIT BUTTON
<DocType…… Forms
<FORM Method=“post” Action=“ > First Name: <INPUT type=“text”size=25Maxlength=60name =“fname” First Name: >
<FORM Method=“post” Action=“ First Name: <INPUT type=“text”size=25Maxlength=60name =“fname” First Name: > Last Name: <INPUT type=“text”size=25maxlength=60name =“lname”> Last Name:
<FORM Method=“post” Action=“ > <INPUT type=“text”size=25maxlength=60name =“fname” First Name: > <INPUT type=“text”size=25maxlength=60name =“fname” > Last Name: Clear ! Send First Name: Last Name:
<FORM Method=“post” Action=“ > Clear ! Send
<FORM Method=“post” Action=“ MAC: Your Computer: Clear ! Send Your Computer: MAC:PC:OTHER: PC: Other:
Yes: Do you have High Speed Internet ? No: Do you have a website ? Yes:No: Do you have High Speed Internet ? Yes:No: Yes: No: Do you have a website ?
Why did you choose this course ? Choose One Why did you choose this course? Choose One Learn how to create a Personal website Replace Bill Gates Other
Comments:
Comments: How did you like the Course? How did you like the course?
Instructors Comments: Thank you for taking this course ! Instructors Comments: Thank you for taking this course !
Remote File Permissions
Select, then Right Click
Click
Home Work
Next Week LAST WEEK Home Work
Next Week LAST WEEK FRAMES