SlideShare une entreprise Scribd logo
1  sur  21
Class 21
Finals
• Final Project website is due:
Midnight of Tuesday, 12/7/2010
• Compress the website into a .zip or .rar file and
email it to jilee@lagcc.cuny.edu.
You will get a confirmation email as soon as the
instructor checks that your submission is valid. If you
don’t get a confirmation email within 8 hours of
submission, contact instructor by phone.
718-482-5419
Final Project Requirements
• Website
at least 3 complete HTML pages
navigation to other pages and back (menu)
an external CSS file for styling elements
a link to the Design Rationale Document
a Spry element
a form element
• Design Rationale Document
Goal, target user or audience, deployment and update
plan
Final Presentation
12/8/2010 12/15/2010
Dejesus, Carlos Akhtar, Asma
Hamed, Mutaz Akil, Mohammed
Pena, Stephanie De Jesus, Alba
Westcott, Jessica Galindo, Wolfgang
Hsu, Wei Yu Islam, Muhammad
Toro, Michael Mendoza, Yessica
Campos, Tony Muniz, Walter
Alban, Percy Fatah, Nour
Gonzales, Carla Law, Min
Lowenfield, Jevon Correa-Richterman, Elizabeth
Sgrizzi, Antoinette Bascom, Mark
Wilson, Lisa Campos, Jimmy
Forms
• Forms are used all over the Web to
– Accept information
– Provide interactivity
• Types of forms:
– Search form, Order form, Newsletter sign-up form, Survey
form, Add to Cart form, and so on…
Let’s look at an example! CLICK
Two Components of Using Forms
1. The XHTML form
-- the Web page user interface
and
2. The server-side processing
Server-side processing works with the
form data and sends e-mail, writes to a
text file, updates a database, or
performs some other type of processing
on the server.
6
XHTML Using Forms
• <form> tag
– Contains the form elements on a web page
– Container tag
• <input /> tag
– Configures a variety of form elements including text boxes, radio
buttons, check boxes, and buttons
– Stand alone tag
• <textarea> tag
– Configures a scrolling text box
– Container tag
• <select> tag
– Configures a select box (drop down list)
– Container tag
• <option> tag
– Configures an option in the select box
– Container tag
7
XHTML <form> element
• The form tag attributes:
– action
• Specifies the server-side program or script that
will process your form data
– method
• get – default value,
form data passed in URL
• post – more secure,
form data passed in HTTP Entity Body
– name
• Identifies the form
– id
• Identifies the form
8
XHTML<input /> Text box
• Accepts text information
• Attributes:
– type=“text”
– name
– id
– size
– maxlength
– value
9
XHTML<input /> Password box
• Accepts text information that needs to
be hidden as it is entered
• Attributes:
– type=“password”
– name
– id
– size
– maxlength
– value
10
XHTML<input /> Check box
• Allows the user to select one or more of
a group of predetermined items
• Attributes:
– type=“checkbox”
– name
– id
– checked
– value
11
XHTML<input /> Radio Button
• Allows the user to select exactly one from a group
of predetermined items
• Each radio button in a group is given the same
name and a unique value
• Attributes:
– type=“radio”
– name
– id
– checked
– value
12
XHTML<textarea> Scrolling Text Box
• Configures a scrolling text box
• Attributes:
– name
– id
– cols
– rows
13
XHTML<select> Select List
• Configures a select list (along with <option> tags)
• Also known as: Select Box, Drop-Down List,
Drop-Down Box, and Option Box.
• Allows the user to select one or more items from
a list of predetermined choices.
• Attributes:
– name
– id
– size
– multiple
14
XHTML<option>
Options in a Select List
• Configures the options in a Select List
• Attributes:
– value
– selected
15
XHTML<input /> Submit Button
• Submits the form information
• When clicked:
– Triggers the action method on the <form> tag
– Sends the form data (the name=value pair for each
form element) to the web server.
• Attributes:
– type=“submit”
– name
– id
– value
16
XHTML<input /> Reset Button
• Resets the form fields to their initial
values
• Attributes:
– type=“reset”
– name
– id
– value
17
XHTML<input /> Button
• Offers a flexible user interface
• There is no default action when the button is
clicked
• Usually a JavaScript function is invoked when a
button is clicked
• Attributes:
– type=“button”
– name
– id
– value
18
XHTML<input /> Hidden form data
• This form control is not displayed on the Web page.
• Hidden form fields
– Can be accessed by both client-side and server-side
scripting
– Sometimes used to contain information needed as the
visitor moves from page to page.
• Attributes:
– type=“hidden”
– name
– id
– value
19
Today’s Assignment
Create a Contact page that has:
• text-field
• text-area
• checkbox or radiobox
• list/menu
• Submit button
Demo Task

Contenu connexe

En vedette

En vedette (7)

Class 20
Class 20Class 20
Class 20
 
Class22
Class22Class22
Class22
 
jacando for business
jacando for businessjacando for business
jacando for business
 
Class4
Class4Class4
Class4
 
Class11
Class11Class11
Class11
 
Cultural conflict resolution
Cultural conflict resolutionCultural conflict resolution
Cultural conflict resolution
 
Why Embrace "Html5"?
Why Embrace "Html5"?Why Embrace "Html5"?
Why Embrace "Html5"?
 

Similaire à Class 21 (20)

Html forms
Html formsHtml forms
Html forms
 
Forms Part 1
Forms Part 1Forms Part 1
Forms Part 1
 
Std 12 Computer Chapter 1 Creating Html Forms Using KompoZer
Std 12 Computer Chapter 1 Creating Html Forms Using KompoZerStd 12 Computer Chapter 1 Creating Html Forms Using KompoZer
Std 12 Computer Chapter 1 Creating Html Forms Using KompoZer
 
Chapter 6 Getting Data from the Client (1).pptx
Chapter 6 Getting Data from the Client (1).pptxChapter 6 Getting Data from the Client (1).pptx
Chapter 6 Getting Data from the Client (1).pptx
 
Lesson 15
Lesson 15Lesson 15
Lesson 15
 
Form using html and java script validation
Form using html and java script validationForm using html and java script validation
Form using html and java script validation
 
CSS_Forms.pdf
CSS_Forms.pdfCSS_Forms.pdf
CSS_Forms.pdf
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Cmsc 100 (web forms)
Cmsc 100 (web forms)Cmsc 100 (web forms)
Cmsc 100 (web forms)
 
Web engineering - HTML Form
Web engineering -  HTML FormWeb engineering -  HTML Form
Web engineering - HTML Form
 
Chapter9
Chapter9Chapter9
Chapter9
 
Web forms and html (lect 4)
Web forms and html (lect 4)Web forms and html (lect 4)
Web forms and html (lect 4)
 
Dom
DomDom
Dom
 
Chapter09
Chapter09Chapter09
Chapter09
 
Html forms
Html formsHtml forms
Html forms
 
Getting Information through HTML Forms
Getting Information through HTML FormsGetting Information through HTML Forms
Getting Information through HTML Forms
 
Html4
Html4Html4
Html4
 
Chapter 9: Forms
Chapter 9: FormsChapter 9: Forms
Chapter 9: Forms
 
Computer language - Html forms
Computer language - Html formsComputer language - Html forms
Computer language - Html forms
 
HTML - hypertext markup language
HTML - hypertext markup languageHTML - hypertext markup language
HTML - hypertext markup language
 

Plus de Jiyeon Lee (13)

Class19
Class19Class19
Class19
 
Class18
Class18Class18
Class18
 
Class14
Class14Class14
Class14
 
Class15
Class15Class15
Class15
 
Class 12
Class 12Class 12
Class 12
 
Class13
Class13Class13
Class13
 
Class 10
Class 10Class 10
Class 10
 
Class8
Class8Class8
Class8
 
Class7
Class7Class7
Class7
 
Class6
Class6Class6
Class6
 
Class5
Class5Class5
Class5
 
Class 3
Class 3Class 3
Class 3
 
Class2
Class2Class2
Class2
 

Dernier

1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPTiSEO AI
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FIDO Alliance
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireExakis Nelite
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIES VE
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfSrushith Repakula
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024Stephen Perrenod
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandIES VE
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...FIDO Alliance
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...CzechDreamin
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...CzechDreamin
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераMark Opanasiuk
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaCzechDreamin
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsLeah Henrickson
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfFIDO Alliance
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101vincent683379
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform EngineeringMarcus Vechiato
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGDSC PJATK
 

Dernier (20)

1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 

Class 21

  • 2. Finals • Final Project website is due: Midnight of Tuesday, 12/7/2010 • Compress the website into a .zip or .rar file and email it to jilee@lagcc.cuny.edu. You will get a confirmation email as soon as the instructor checks that your submission is valid. If you don’t get a confirmation email within 8 hours of submission, contact instructor by phone. 718-482-5419
  • 3. Final Project Requirements • Website at least 3 complete HTML pages navigation to other pages and back (menu) an external CSS file for styling elements a link to the Design Rationale Document a Spry element a form element • Design Rationale Document Goal, target user or audience, deployment and update plan
  • 4. Final Presentation 12/8/2010 12/15/2010 Dejesus, Carlos Akhtar, Asma Hamed, Mutaz Akil, Mohammed Pena, Stephanie De Jesus, Alba Westcott, Jessica Galindo, Wolfgang Hsu, Wei Yu Islam, Muhammad Toro, Michael Mendoza, Yessica Campos, Tony Muniz, Walter Alban, Percy Fatah, Nour Gonzales, Carla Law, Min Lowenfield, Jevon Correa-Richterman, Elizabeth Sgrizzi, Antoinette Bascom, Mark Wilson, Lisa Campos, Jimmy
  • 5. Forms • Forms are used all over the Web to – Accept information – Provide interactivity • Types of forms: – Search form, Order form, Newsletter sign-up form, Survey form, Add to Cart form, and so on… Let’s look at an example! CLICK
  • 6. Two Components of Using Forms 1. The XHTML form -- the Web page user interface and 2. The server-side processing Server-side processing works with the form data and sends e-mail, writes to a text file, updates a database, or performs some other type of processing on the server. 6
  • 7. XHTML Using Forms • <form> tag – Contains the form elements on a web page – Container tag • <input /> tag – Configures a variety of form elements including text boxes, radio buttons, check boxes, and buttons – Stand alone tag • <textarea> tag – Configures a scrolling text box – Container tag • <select> tag – Configures a select box (drop down list) – Container tag • <option> tag – Configures an option in the select box – Container tag 7
  • 8. XHTML <form> element • The form tag attributes: – action • Specifies the server-side program or script that will process your form data – method • get – default value, form data passed in URL • post – more secure, form data passed in HTTP Entity Body – name • Identifies the form – id • Identifies the form 8
  • 9. XHTML<input /> Text box • Accepts text information • Attributes: – type=“text” – name – id – size – maxlength – value 9
  • 10. XHTML<input /> Password box • Accepts text information that needs to be hidden as it is entered • Attributes: – type=“password” – name – id – size – maxlength – value 10
  • 11. XHTML<input /> Check box • Allows the user to select one or more of a group of predetermined items • Attributes: – type=“checkbox” – name – id – checked – value 11
  • 12. XHTML<input /> Radio Button • Allows the user to select exactly one from a group of predetermined items • Each radio button in a group is given the same name and a unique value • Attributes: – type=“radio” – name – id – checked – value 12
  • 13. XHTML<textarea> Scrolling Text Box • Configures a scrolling text box • Attributes: – name – id – cols – rows 13
  • 14. XHTML<select> Select List • Configures a select list (along with <option> tags) • Also known as: Select Box, Drop-Down List, Drop-Down Box, and Option Box. • Allows the user to select one or more items from a list of predetermined choices. • Attributes: – name – id – size – multiple 14
  • 15. XHTML<option> Options in a Select List • Configures the options in a Select List • Attributes: – value – selected 15
  • 16. XHTML<input /> Submit Button • Submits the form information • When clicked: – Triggers the action method on the <form> tag – Sends the form data (the name=value pair for each form element) to the web server. • Attributes: – type=“submit” – name – id – value 16
  • 17. XHTML<input /> Reset Button • Resets the form fields to their initial values • Attributes: – type=“reset” – name – id – value 17
  • 18. XHTML<input /> Button • Offers a flexible user interface • There is no default action when the button is clicked • Usually a JavaScript function is invoked when a button is clicked • Attributes: – type=“button” – name – id – value 18
  • 19. XHTML<input /> Hidden form data • This form control is not displayed on the Web page. • Hidden form fields – Can be accessed by both client-side and server-side scripting – Sometimes used to contain information needed as the visitor moves from page to page. • Attributes: – type=“hidden” – name – id – value 19
  • 20. Today’s Assignment Create a Contact page that has: • text-field • text-area • checkbox or radiobox • list/menu • Submit button