SlideShare a Scribd company logo
1 of 42
Download to read offline
webDeV@rgu
getting information from users
html forms
quick tipā€¦
THE ā€œSECURITY HACKā€ AT THE END OFTHIS PRESENTATION IS SOMETHINGTHAT EVERYONE SHOULD KNOW!
ā€¢ HTML Forms
ā€¢ Form Presentation
ā€¢ Form Elements
ā€¢ Input Types
ā€¢ Input Attributes
ā€¢ Form Security
Overview
HTML
Forms
ā€¢ Capturing user input
ā€¢ registering user information
ā€¢ entering username and password for login
ā€¢ posting status updates to social networks
ā€¢ submitting a search query
ā€¢ taking a questionnaire
ā€¢ Transmitting user input elsewhere
ā€¢ send to client side JavaScript for validation
ā€¢ send to server side process (PHP, Java,
JavaScript)
Purpose of html Forms
Form
Presentation
a simple html form
ā€¢ The form tag contains all the input elements
ā€¢ <form> ā€¦ </form>
ā€¢ Input elements can be of <input type=ā€œā€ />
ā€¢ Text/password/ļ¬le or textarea
ā€¢ Radio button or Checkbox
ā€¢ Select boxes
ā€¢ All input elements should be given a form label
ā€¢ Improves accessibility if using a screen reader
ā€¢ <label> ā€¦ </label>
ā€¢ Fieldsets can be used to graphically group input
elements together
ā€¢ <ļ¬eldset> ā€¦ </ļ¬eldset>
Basic form elements
<form>
<ļ¬eldset>
<legend>Please leave a comment...</legend>
<label for="name">Name:</label>
<input type="text" name="name" value="" />
<label for="email">Email:</label>
<input type="text" name="email" value="" />
<label for="comments">Comment:</label>
<textarea name="comments" cols="45ā€œ rows="5">
</textarea>
<input type="submit" value="Submit" />
</ļ¬eldset>
</form>
ā€¢ Best practice is to use CSS
ā€¢ However, tables are still used a lot for layout of
form elements
ā€¢ better than a messy form
Form Presentation
<form>
<ļ¬eldset>
<legend>Please leave a comment...</legend>
<label for="name">Name:</label>
<input type="text" name="name" value="" />
<br>
<label for="email">Email:</label>
<input type="text" name="email" value="" />
<br>
<label for="comments">Comment:</label>
<textarea name="comments" cols="45" rows="5"></textarea>
<br>
<input type="submit" value="Submit" />
</ļ¬eldset>
</form>
<style> input, textarea {width: 400px;} </style>
<form>
<ļ¬eldset>
<legend>Please leave a comment...</legend>
<table>
<tr>
<td><label>Name:</label></td>
<td><input type="text" name="name" value="" /></td>
</tr>
<tr>
<td><label>Email:</label></td>
<td><input type="text" name="email" value="" /></td>
</tr>
<tr>
<td><label>Comment:</label></td>
<td><textarea name="comments" cols="45" rows="5">
</textarea></td>
</tr>
<tr>
<td colspan=2><input type="submit" value="Submit" /></td>
</tr>
</table>
</ļ¬eldset>
</form>
Column 1 Column 2
Row 1
Row 2
Row 3
Row 4
Form Presentation
ā€¢ Best practice is to use CSS
ā€¢ However, tables are still used a lot for layout of
form elements
ā€¢ better than a messy form
ā€¢ Next week we will look at CSS in a lot more detail
so that you can get the hang of it.
Form
elements
input types
ā€¢ Provides simple text input
text
<form>
<label for=ā€œļ¬rstname>First name:</label><br>
<input type="text" name="ļ¬rstname"><br>
Last name:<br>
<input type="text" name="lastname">
</form>
ā€¢ Provides text input that is hidden from the user
password
<form>
User name:<br>
<input type="text" name="username"><br>
User password:<br>
<input type="password" name="psw">
</form>
<form action="action_page.php">
First name:<br>
<input type="text" name="ļ¬rstname" value="Mike"><br>
Last name:<br>
<input type="text" name="lastname" value="Crabb"><br><br>
<input type="submit" value="Submit">
</form>
ā€¢ Submit button for forms
submit
<form>
Birthday:
<input type="date" name="bday">
</form>
ā€¢ The <input type="date"> is used for input ļ¬elds that
should contain a date.
date
ā€¢ Provides for a selection of zero or more items from
a list of options
checkboxes
<input type="checkbox" name="pets" value="loveCats">I love cats <br>ā€Ø
<input type="checkbox" name="pets" value="loveDogs">I love dogsā€Ø
ā€¢ Provides for only one selection from a list of options
Radio buttons
<input type="radio" name="cats" value="loveCats">I love cats <br>ā€Ø
<input type="radio" name="cats" value="hateCats">I have no soul
ā€¢ Choose from a list of options
ā€¢ use the <select> tag
ā€¢ list <options>
Selection (drop down) Box
<label for="degreeTitle">Degree Title:</label>ā€Ø
<select name="degreeTitle">ā€Ø
<option value="cs">Computer Science</option>ā€Ø
<option value="dm">Digital Media</option>ā€Ø
<option value="cnmd">Computer Network Management and Design</option
</select>
ā€¢ Provides for only one selection from a list of options
coloUr
<form>
Select your favorite color:
<input type="color" name="favcolor">
</form>
ā€¢ Provides for only one selection from a list of options
email
<form>
E-mail:
<input type="email" name="email">
<input type="submit">
</form>
ā€¢ Provides for only one selection from a list of options
URL
<form>
Add your homepage:
<input type="url" name="homepage">
</form>
HTML5 form improvements
email
url
Reset
color
check input is valid email address
(something@something.something)
check input is valid web address
(http://www.something.something)
Clears everything on the page
Select a colour
american spelling
Form
elements
input attributes
ā€¢ The value attribute speciļ¬es the initial value for an
input ļ¬eld:
value
<form action="">
First name:<br>
<input type="text" name="ļ¬rstname" value="John">
<br>
Last name:<br>
<input type="text" name="lastname">
</form>
ā€¢ The readonly attribute speciļ¬es that the input ļ¬eld
is read only (cannot be changed)
read only
<form action="">
First name:<br>
<input type="text" name="ļ¬rstname" value="John" readonly>
<br>
Last name:<br>
<input type="text" name="lastname">
</form>
ā€¢ The disabled attribute speciļ¬es that the input ļ¬eld
is disabled.
ā€¢ A disabled element is un-usable and un-clickable.
ā€¢ Disabled elements will not be submitted
Disabled
<form action="">
First name:<br>
<input type="text" name="ļ¬rstname" value="John" disabled>
<br>
Last name:<br>
<input type="text" name="lastname">
</form>
ā€¢ The size attribute speciļ¬es the size (in characters)
for the input ļ¬eld
size
<form action="">
First name:<br>
<input type="text" name="ļ¬rstname" value="John" size="40">
<br>
Last name:<br>
<input type="text" name="lastname">
</form>
ā€¢ The maxlength attribute speciļ¬es the maximum
allowed length for the input ļ¬eld:
maxlength
<form action="">
First name:<br>
<input type="text" name="ļ¬rstname" maxlength="10">
<br>
Last name:<br>
<input type="text" name="lastname">
</form>
ā€¢ The autocomplete attribute speciļ¬es whether a
form or input ļ¬eld should have autocomplete on or
oļ¬€
autocomplete
<form autocomplete="on">
First name:<input type="text" name="fname"><br>
Last name: <input type="text" name="lname"><br>
E-mail: <input type="email" name="email"
autocomplete="oļ¬€"><br>
<input type="submit">
</form>
placeholder
ā€¢ The placeholder attribute speciļ¬es a hint that
describes the expected value of an input ļ¬eld (a
sample value or a short description of the format).
<input type="text" name="fname" placeholder="First name">
required
ā€¢ When present, it speciļ¬es that an input ļ¬eld must
be ļ¬lled out before submitting the form.
ā€¢ The required attribute works with the following
input types: text, search, url, tel, email, password,
date pickers, number, checkbox, radio, and ļ¬le.
Username: <input type="text" name="username" required>
This one is
important
form
security
form security
ā€¢ Forms can be quite insecure when we are using
them, we need to make sure that the right data
is being seen by the right people
ā€¢ and that no-one can get access to the
really sensitive data!
For exampleā€¦hereā€™s how to ļ¬nd our a password on
an unsecured computer
PS - DONā€™T DO THIS ONE SOMEONE ELSES
COMPUTER - YOUā€™ll GET INTO A LOT OF TROUBLE!!
Iā€™ve visited a website and have put in my
username and password into the box
provided. Letā€™s say that now I have to step
away from my computer for 5 secondsā€¦
Some unsavoury character comes along
and looks at my screen. They right click on
the password field and then go to inspect, I
wonder what they are up to?
Now they are looking at the HTML for this
web page and have an interest in the field
that my password is in. Itā€™s okā€¦its secure
(it really isnā€™t).
They change the form element from:
<input type=ā€œPasswordā€>
to
<Input Type=ā€œtextā€>
and now my password is being shown to the
world #awkward!
ā€¢ HTML Forms
ā€¢ Form Presentation
ā€¢ Form Elements
ā€¢ Input Types
ā€¢ Input Attributes
ā€¢ Form Security
Recap
get in touch!
@mike_crabb
Lecturer in Web Development at Robert Gordon University
(Scotland)
@rgucomputing
Robert Gordon University - School of Computing Science and
Digital Media

More Related Content

What's hot

The Number One Mistake Everybody Makes on Twitter
The Number One Mistake Everybody Makes on TwitterThe Number One Mistake Everybody Makes on Twitter
The Number One Mistake Everybody Makes on TwitterGary Vaynerchuk
Ā 
How Generation Z Differs from Millennials (and Some Similarities)
How Generation Z Differs from Millennials (and Some Similarities)How Generation Z Differs from Millennials (and Some Similarities)
How Generation Z Differs from Millennials (and Some Similarities)Ryan Jenkins
Ā 
Social Media Best Practices, Part 1
Social Media Best Practices, Part 1Social Media Best Practices, Part 1
Social Media Best Practices, Part 1David King
Ā 
Benefits of drinking water
Benefits of drinking waterBenefits of drinking water
Benefits of drinking waterEason Chan
Ā 
Acquire New Users with Better Activation
Acquire New Users with Better ActivationAcquire New Users with Better Activation
Acquire New Users with Better ActivationConrad Wadowski
Ā 
What 33 Successful Entrepreneurs Learned From Failure
What 33 Successful Entrepreneurs Learned From FailureWhat 33 Successful Entrepreneurs Learned From Failure
What 33 Successful Entrepreneurs Learned From FailureReferralCandy
Ā 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
Ā 
Build. Better. Content!
Build. Better. Content!Build. Better. Content!
Build. Better. Content!Jonathon Colman
Ā 
Bridging the Gap Between Data Science & Engineer: Building High-Performance T...
Bridging the Gap Between Data Science & Engineer: Building High-Performance T...Bridging the Gap Between Data Science & Engineer: Building High-Performance T...
Bridging the Gap Between Data Science & Engineer: Building High-Performance T...ryanorban
Ā 
Mobile-First SEO - The Marketers Edition #3XEDigital
Mobile-First SEO - The Marketers Edition #3XEDigitalMobile-First SEO - The Marketers Edition #3XEDigital
Mobile-First SEO - The Marketers Edition #3XEDigitalAleyda SolĆ­s
Ā 
How to Manage Change Effectively
How to Manage Change EffectivelyHow to Manage Change Effectively
How to Manage Change EffectivelyINSEAD
Ā 
Publishing Production: From the Desktop to the Cloud
Publishing Production: From the Desktop to the CloudPublishing Production: From the Desktop to the Cloud
Publishing Production: From the Desktop to the CloudDeanta
Ā 
10 of the Biggest Stories in Technology
10 of the Biggest Stories in Technology10 of the Biggest Stories in Technology
10 of the Biggest Stories in TechnologyBrett Cotham
Ā 
An integrated-approach-to-intermediate-japanese
An integrated-approach-to-intermediate-japaneseAn integrated-approach-to-intermediate-japanese
An integrated-approach-to-intermediate-japaneseIto Ree
Ā 
Storytelling in 2014
Storytelling in 2014Storytelling in 2014
Storytelling in 2014Gary Vaynerchuk
Ā 
Fight for Yourself: How to Sell Your Ideas and Crush Presentations
Fight for Yourself: How to Sell Your Ideas and Crush PresentationsFight for Yourself: How to Sell Your Ideas and Crush Presentations
Fight for Yourself: How to Sell Your Ideas and Crush PresentationsDigital Surgeons
Ā 
Crap. The Content Marketing Deluge.
Crap. The Content Marketing Deluge.Crap. The Content Marketing Deluge.
Crap. The Content Marketing Deluge.Velocity Partners
Ā 
Creative Traction Methodology - For Early Stage Startups
Creative Traction Methodology - For Early Stage StartupsCreative Traction Methodology - For Early Stage Startups
Creative Traction Methodology - For Early Stage StartupsTommaso Di Bartolo
Ā 
DESIGN THE PRIORITY, PERFORMANCE ā€ØAND UX
DESIGN THE PRIORITY, PERFORMANCE ā€ØAND UXDESIGN THE PRIORITY, PERFORMANCE ā€ØAND UX
DESIGN THE PRIORITY, PERFORMANCE ā€ØAND UXPeter Rozek
Ā 
How To Create An Impacting Startup Name
How To Create An Impacting Startup NameHow To Create An Impacting Startup Name
How To Create An Impacting Startup NameTommaso Di Bartolo
Ā 

What's hot (20)

The Number One Mistake Everybody Makes on Twitter
The Number One Mistake Everybody Makes on TwitterThe Number One Mistake Everybody Makes on Twitter
The Number One Mistake Everybody Makes on Twitter
Ā 
How Generation Z Differs from Millennials (and Some Similarities)
How Generation Z Differs from Millennials (and Some Similarities)How Generation Z Differs from Millennials (and Some Similarities)
How Generation Z Differs from Millennials (and Some Similarities)
Ā 
Social Media Best Practices, Part 1
Social Media Best Practices, Part 1Social Media Best Practices, Part 1
Social Media Best Practices, Part 1
Ā 
Benefits of drinking water
Benefits of drinking waterBenefits of drinking water
Benefits of drinking water
Ā 
Acquire New Users with Better Activation
Acquire New Users with Better ActivationAcquire New Users with Better Activation
Acquire New Users with Better Activation
Ā 
What 33 Successful Entrepreneurs Learned From Failure
What 33 Successful Entrepreneurs Learned From FailureWhat 33 Successful Entrepreneurs Learned From Failure
What 33 Successful Entrepreneurs Learned From Failure
Ā 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Ā 
Build. Better. Content!
Build. Better. Content!Build. Better. Content!
Build. Better. Content!
Ā 
Bridging the Gap Between Data Science & Engineer: Building High-Performance T...
Bridging the Gap Between Data Science & Engineer: Building High-Performance T...Bridging the Gap Between Data Science & Engineer: Building High-Performance T...
Bridging the Gap Between Data Science & Engineer: Building High-Performance T...
Ā 
Mobile-First SEO - The Marketers Edition #3XEDigital
Mobile-First SEO - The Marketers Edition #3XEDigitalMobile-First SEO - The Marketers Edition #3XEDigital
Mobile-First SEO - The Marketers Edition #3XEDigital
Ā 
How to Manage Change Effectively
How to Manage Change EffectivelyHow to Manage Change Effectively
How to Manage Change Effectively
Ā 
Publishing Production: From the Desktop to the Cloud
Publishing Production: From the Desktop to the CloudPublishing Production: From the Desktop to the Cloud
Publishing Production: From the Desktop to the Cloud
Ā 
10 of the Biggest Stories in Technology
10 of the Biggest Stories in Technology10 of the Biggest Stories in Technology
10 of the Biggest Stories in Technology
Ā 
An integrated-approach-to-intermediate-japanese
An integrated-approach-to-intermediate-japaneseAn integrated-approach-to-intermediate-japanese
An integrated-approach-to-intermediate-japanese
Ā 
Storytelling in 2014
Storytelling in 2014Storytelling in 2014
Storytelling in 2014
Ā 
Fight for Yourself: How to Sell Your Ideas and Crush Presentations
Fight for Yourself: How to Sell Your Ideas and Crush PresentationsFight for Yourself: How to Sell Your Ideas and Crush Presentations
Fight for Yourself: How to Sell Your Ideas and Crush Presentations
Ā 
Crap. The Content Marketing Deluge.
Crap. The Content Marketing Deluge.Crap. The Content Marketing Deluge.
Crap. The Content Marketing Deluge.
Ā 
Creative Traction Methodology - For Early Stage Startups
Creative Traction Methodology - For Early Stage StartupsCreative Traction Methodology - For Early Stage Startups
Creative Traction Methodology - For Early Stage Startups
Ā 
DESIGN THE PRIORITY, PERFORMANCE ā€ØAND UX
DESIGN THE PRIORITY, PERFORMANCE ā€ØAND UXDESIGN THE PRIORITY, PERFORMANCE ā€ØAND UX
DESIGN THE PRIORITY, PERFORMANCE ā€ØAND UX
Ā 
How To Create An Impacting Startup Name
How To Create An Impacting Startup NameHow To Create An Impacting Startup Name
How To Create An Impacting Startup Name
Ā 

Viewers also liked

Montreal Girl Geeks: Building the Modern Web
Montreal Girl Geeks: Building the Modern WebMontreal Girl Geeks: Building the Modern Web
Montreal Girl Geeks: Building the Modern WebRachel Andrew
Ā 
Internet of Things - The Tip of an Iceberg
Internet of Things - The Tip of an IcebergInternet of Things - The Tip of an Iceberg
Internet of Things - The Tip of an IcebergDr. Mazlan Abbas
Ā 
Introduction to Development for the Internet
Introduction to Development for the InternetIntroduction to Development for the Internet
Introduction to Development for the InternetMike Crabb
Ā 
Node.js and The Internet of Things
Node.js and The Internet of ThingsNode.js and The Internet of Things
Node.js and The Internet of ThingsLosant
Ā 
Finding Our Happy Place in the Internet of Things
Finding Our Happy Place in the Internet of ThingsFinding Our Happy Place in the Internet of Things
Finding Our Happy Place in the Internet of ThingsPamela Pavliscak
Ā 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not AppsNatasha Murashev
Ā 
Health and Well-Being on the Social Web
Health and Well-Being on the Social WebHealth and Well-Being on the Social Web
Health and Well-Being on the Social Webron mader
Ā 
How Much Further Will Internet Stocks Fall? (Share Price Performance)
How Much Further Will Internet Stocks Fall? (Share Price Performance)How Much Further Will Internet Stocks Fall? (Share Price Performance)
How Much Further Will Internet Stocks Fall? (Share Price Performance)Mahesh Vellanki
Ā 
Net neutrality: The Basics
Net neutrality: The BasicsNet neutrality: The Basics
Net neutrality: The BasicsInterQuest Group
Ā 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with DataSeth Familian
Ā 
25 Festive Fonts For Women Oriented Businesses!
25 Festive Fonts For Women Oriented Businesses!25 Festive Fonts For Women Oriented Businesses!
25 Festive Fonts For Women Oriented Businesses!DesignMantic
Ā 
Designing Teams for Emerging Challenges
Designing Teams for Emerging ChallengesDesigning Teams for Emerging Challenges
Designing Teams for Emerging ChallengesAaron Irizarry
Ā 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsLinkedIn
Ā 
Mobile Is Eating the World (2016)
Mobile Is Eating the World (2016)Mobile Is Eating the World (2016)
Mobile Is Eating the World (2016)a16z
Ā 
UX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and ArchivesUX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and ArchivesNed Potter
Ā 
IT in Healthcare
IT in HealthcareIT in Healthcare
IT in HealthcareNetApp
Ā 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheLeslie Samuel
Ā 
3 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 20173 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 2017Drift
Ā 

Viewers also liked (20)

Montreal Girl Geeks: Building the Modern Web
Montreal Girl Geeks: Building the Modern WebMontreal Girl Geeks: Building the Modern Web
Montreal Girl Geeks: Building the Modern Web
Ā 
Internet of Things - The Tip of an Iceberg
Internet of Things - The Tip of an IcebergInternet of Things - The Tip of an Iceberg
Internet of Things - The Tip of an Iceberg
Ā 
Introduction to Development for the Internet
Introduction to Development for the InternetIntroduction to Development for the Internet
Introduction to Development for the Internet
Ā 
Node.js and The Internet of Things
Node.js and The Internet of ThingsNode.js and The Internet of Things
Node.js and The Internet of Things
Ā 
Finding Our Happy Place in the Internet of Things
Finding Our Happy Place in the Internet of ThingsFinding Our Happy Place in the Internet of Things
Finding Our Happy Place in the Internet of Things
Ā 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not Apps
Ā 
Valentine's Day
Valentine's DayValentine's Day
Valentine's Day
Ā 
Health and Well-Being on the Social Web
Health and Well-Being on the Social WebHealth and Well-Being on the Social Web
Health and Well-Being on the Social Web
Ā 
How Much Further Will Internet Stocks Fall? (Share Price Performance)
How Much Further Will Internet Stocks Fall? (Share Price Performance)How Much Further Will Internet Stocks Fall? (Share Price Performance)
How Much Further Will Internet Stocks Fall? (Share Price Performance)
Ā 
Net neutrality: The Basics
Net neutrality: The BasicsNet neutrality: The Basics
Net neutrality: The Basics
Ā 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with Data
Ā 
25 Festive Fonts For Women Oriented Businesses!
25 Festive Fonts For Women Oriented Businesses!25 Festive Fonts For Women Oriented Businesses!
25 Festive Fonts For Women Oriented Businesses!
Ā 
Digital in 2016
Digital in 2016Digital in 2016
Digital in 2016
Ā 
Designing Teams for Emerging Challenges
Designing Teams for Emerging ChallengesDesigning Teams for Emerging Challenges
Designing Teams for Emerging Challenges
Ā 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
Ā 
Mobile Is Eating the World (2016)
Mobile Is Eating the World (2016)Mobile Is Eating the World (2016)
Mobile Is Eating the World (2016)
Ā 
UX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and ArchivesUX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and Archives
Ā 
IT in Healthcare
IT in HealthcareIT in Healthcare
IT in Healthcare
Ā 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
Ā 
3 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 20173 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 2017
Ā 

Similar to Getting Information through HTML Forms

Html tables, forms and audio video
Html tables, forms and audio videoHtml tables, forms and audio video
Html tables, forms and audio videoSaad Sheikh
Ā 
Web forms and html (lect 4)
Web forms and html (lect 4)Web forms and html (lect 4)
Web forms and html (lect 4)Salman Memon
Ā 
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 validationMaitree Patel
Ā 
htmlcss.pdf
htmlcss.pdfhtmlcss.pdf
htmlcss.pdfElieMambou1
Ā 
web-lab2 for computer science html tss css java
web-lab2 for computer science html tss css javaweb-lab2 for computer science html tss css java
web-lab2 for computer science html tss css javashereifhany
Ā 
Web engineering - HTML Form
Web engineering -  HTML FormWeb engineering -  HTML Form
Web engineering - HTML FormNosheen Qamar
Ā 
HTML Forms Basics by Kamran Solangi.pptx
HTML Forms Basics by Kamran Solangi.pptxHTML Forms Basics by Kamran Solangi.pptx
HTML Forms Basics by Kamran Solangi.pptxKamranSolangi1
Ā 
HTML5 - Forms
HTML5 - FormsHTML5 - Forms
HTML5 - Formstina1357
Ā 
FormL13.pptx
FormL13.pptxFormL13.pptx
FormL13.pptxserd4
Ā 
Chapter 9: Forms
Chapter 9: FormsChapter 9: Forms
Chapter 9: FormsSteve Guinan
Ā 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 htmlAbhishek Kesharwani
Ā 
Lesson 15
Lesson 15Lesson 15
Lesson 15Gene Babon
Ā 
INTRODUCTION TO HTML & CSS .pptx
INTRODUCTION TO HTML & CSS .pptxINTRODUCTION TO HTML & CSS .pptx
INTRODUCTION TO HTML & CSS .pptxSarthakrOkr
Ā 

Similar to Getting Information through HTML Forms (20)

Html tables, forms and audio video
Html tables, forms and audio videoHtml tables, forms and audio video
Html tables, forms and audio video
Ā 
Web forms and html (lect 4)
Web forms and html (lect 4)Web forms and html (lect 4)
Web forms and html (lect 4)
Ā 
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
Ā 
Forms
FormsForms
Forms
Ā 
Html forms
Html formsHtml forms
Html forms
Ā 
htmlcss.pdf
htmlcss.pdfhtmlcss.pdf
htmlcss.pdf
Ā 
CSS_Forms.pdf
CSS_Forms.pdfCSS_Forms.pdf
CSS_Forms.pdf
Ā 
Html forms
Html formsHtml forms
Html forms
Ā 
web-lab2 for computer science html tss css java
web-lab2 for computer science html tss css javaweb-lab2 for computer science html tss css java
web-lab2 for computer science html tss css java
Ā 
Web engineering - HTML Form
Web engineering -  HTML FormWeb engineering -  HTML Form
Web engineering - HTML Form
Ā 
HTML Forms Basics by Kamran Solangi.pptx
HTML Forms Basics by Kamran Solangi.pptxHTML Forms Basics by Kamran Solangi.pptx
HTML Forms Basics by Kamran Solangi.pptx
Ā 
HTML5 - Forms
HTML5 - FormsHTML5 - Forms
HTML5 - Forms
Ā 
Forms Part 1
Forms Part 1Forms Part 1
Forms Part 1
Ā 
Unit 2 (it workshop)
Unit 2 (it workshop)Unit 2 (it workshop)
Unit 2 (it workshop)
Ā 
FormL13.pptx
FormL13.pptxFormL13.pptx
FormL13.pptx
Ā 
HTML
HTML HTML
HTML
Ā 
Chapter 9: Forms
Chapter 9: FormsChapter 9: Forms
Chapter 9: Forms
Ā 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
Ā 
Lesson 15
Lesson 15Lesson 15
Lesson 15
Ā 
INTRODUCTION TO HTML & CSS .pptx
INTRODUCTION TO HTML & CSS .pptxINTRODUCTION TO HTML & CSS .pptx
INTRODUCTION TO HTML & CSS .pptx
Ā 

More from Mike Crabb

Hard to Reach Users in Easy to Reach Places
Hard to Reach Users in Easy to Reach PlacesHard to Reach Users in Easy to Reach Places
Hard to Reach Users in Easy to Reach PlacesMike Crabb
Ā 
Accessible and Assistive Interfaces
Accessible and Assistive InterfacesAccessible and Assistive Interfaces
Accessible and Assistive InterfacesMike Crabb
Ā 
Accessible Everyone
Accessible EveryoneAccessible Everyone
Accessible EveryoneMike Crabb
Ā 
The Peer Review Process
The Peer Review ProcessThe Peer Review Process
The Peer Review ProcessMike Crabb
Ā 
Managing Quality In Qualitative Research
Managing Quality In Qualitative ResearchManaging Quality In Qualitative Research
Managing Quality In Qualitative ResearchMike Crabb
Ā 
Analysing Qualitative Data
Analysing Qualitative DataAnalysing Qualitative Data
Analysing Qualitative DataMike Crabb
Ā 
Conversation Discourse and Document Analysis
Conversation Discourse and Document AnalysisConversation Discourse and Document Analysis
Conversation Discourse and Document AnalysisMike Crabb
Ā 
Ethnographic and Observational Research
Ethnographic and Observational ResearchEthnographic and Observational Research
Ethnographic and Observational ResearchMike Crabb
Ā 
Doing Focus Groups
Doing Focus GroupsDoing Focus Groups
Doing Focus GroupsMike Crabb
Ā 
Doing Interviews
Doing InterviewsDoing Interviews
Doing InterviewsMike Crabb
Ā 
Designing Qualitative Research
Designing Qualitative ResearchDesigning Qualitative Research
Designing Qualitative ResearchMike Crabb
Ā 
Introduction to Accessible Design
Introduction to Accessible DesignIntroduction to Accessible Design
Introduction to Accessible DesignMike Crabb
Ā 
Accessible Everyone
Accessible EveryoneAccessible Everyone
Accessible EveryoneMike Crabb
Ā 
Texture and Glyph Design
Texture and Glyph DesignTexture and Glyph Design
Texture and Glyph DesignMike Crabb
Ā 
Pattern Perception and Map Design
Pattern Perception and Map DesignPattern Perception and Map Design
Pattern Perception and Map DesignMike Crabb
Ā 
Dealing with Enterprise Level Data
Dealing with Enterprise Level DataDealing with Enterprise Level Data
Dealing with Enterprise Level DataMike Crabb
Ā 
Using Cloud in an Enterprise Environment
Using Cloud in an Enterprise EnvironmentUsing Cloud in an Enterprise Environment
Using Cloud in an Enterprise EnvironmentMike Crabb
Ā 
Teaching Cloud to the Programmers of Tomorrow
Teaching Cloud to the Programmers of TomorrowTeaching Cloud to the Programmers of Tomorrow
Teaching Cloud to the Programmers of TomorrowMike Crabb
Ā 
Sql Injection and XSS
Sql Injection and XSSSql Injection and XSS
Sql Injection and XSSMike Crabb
Ā 
Forms and Databases in PHP
Forms and Databases in PHPForms and Databases in PHP
Forms and Databases in PHPMike Crabb
Ā 

More from Mike Crabb (20)

Hard to Reach Users in Easy to Reach Places
Hard to Reach Users in Easy to Reach PlacesHard to Reach Users in Easy to Reach Places
Hard to Reach Users in Easy to Reach Places
Ā 
Accessible and Assistive Interfaces
Accessible and Assistive InterfacesAccessible and Assistive Interfaces
Accessible and Assistive Interfaces
Ā 
Accessible Everyone
Accessible EveryoneAccessible Everyone
Accessible Everyone
Ā 
The Peer Review Process
The Peer Review ProcessThe Peer Review Process
The Peer Review Process
Ā 
Managing Quality In Qualitative Research
Managing Quality In Qualitative ResearchManaging Quality In Qualitative Research
Managing Quality In Qualitative Research
Ā 
Analysing Qualitative Data
Analysing Qualitative DataAnalysing Qualitative Data
Analysing Qualitative Data
Ā 
Conversation Discourse and Document Analysis
Conversation Discourse and Document AnalysisConversation Discourse and Document Analysis
Conversation Discourse and Document Analysis
Ā 
Ethnographic and Observational Research
Ethnographic and Observational ResearchEthnographic and Observational Research
Ethnographic and Observational Research
Ā 
Doing Focus Groups
Doing Focus GroupsDoing Focus Groups
Doing Focus Groups
Ā 
Doing Interviews
Doing InterviewsDoing Interviews
Doing Interviews
Ā 
Designing Qualitative Research
Designing Qualitative ResearchDesigning Qualitative Research
Designing Qualitative Research
Ā 
Introduction to Accessible Design
Introduction to Accessible DesignIntroduction to Accessible Design
Introduction to Accessible Design
Ā 
Accessible Everyone
Accessible EveryoneAccessible Everyone
Accessible Everyone
Ā 
Texture and Glyph Design
Texture and Glyph DesignTexture and Glyph Design
Texture and Glyph Design
Ā 
Pattern Perception and Map Design
Pattern Perception and Map DesignPattern Perception and Map Design
Pattern Perception and Map Design
Ā 
Dealing with Enterprise Level Data
Dealing with Enterprise Level DataDealing with Enterprise Level Data
Dealing with Enterprise Level Data
Ā 
Using Cloud in an Enterprise Environment
Using Cloud in an Enterprise EnvironmentUsing Cloud in an Enterprise Environment
Using Cloud in an Enterprise Environment
Ā 
Teaching Cloud to the Programmers of Tomorrow
Teaching Cloud to the Programmers of TomorrowTeaching Cloud to the Programmers of Tomorrow
Teaching Cloud to the Programmers of Tomorrow
Ā 
Sql Injection and XSS
Sql Injection and XSSSql Injection and XSS
Sql Injection and XSS
Ā 
Forms and Databases in PHP
Forms and Databases in PHPForms and Databases in PHP
Forms and Databases in PHP
Ā 

Recently uploaded

Call Girls Basavanagudi Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service ...Call Girls Basavanagudi Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service ...amitlee9823
Ā 
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...RitikaRoy32
Ā 
RT Nagar Call Girls Service: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bang...RT Nagar Call Girls Service: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bang...amitlee9823
Ā 
CALL ON āž„8923113531 šŸ”Call Girls Aminabad Lucknow best Night Fun service
CALL ON āž„8923113531 šŸ”Call Girls Aminabad Lucknow best Night Fun serviceCALL ON āž„8923113531 šŸ”Call Girls Aminabad Lucknow best Night Fun service
CALL ON āž„8923113531 šŸ”Call Girls Aminabad Lucknow best Night Fun serviceanilsa9823
Ā 
CALL ON āž„8923113531 šŸ”Call Girls Kalyanpur Lucknow best Female service šŸ§µ
CALL ON āž„8923113531 šŸ”Call Girls Kalyanpur Lucknow best Female service  šŸ§µCALL ON āž„8923113531 šŸ”Call Girls Kalyanpur Lucknow best Female service  šŸ§µ
CALL ON āž„8923113531 šŸ”Call Girls Kalyanpur Lucknow best Female service šŸ§µanilsa9823
Ā 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...Call Girls in Nagpur High Profile
Ā 
VVIP CALL GIRLS Lucknow šŸ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow šŸ’“ Lucknow < Renuka Sharma > 7877925207 Escorts ServiceVVIP CALL GIRLS Lucknow šŸ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow šŸ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Servicearoranaina404
Ā 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdftbatkhuu1
Ā 
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Delhi Call girls
Ā 
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfAmirYakdi
Ā 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentationamedia6
Ā 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...home
Ā 
Top Rated Pune Call Girls Koregaon Park āŸŸ 6297143586 āŸŸ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park āŸŸ 6297143586 āŸŸ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park āŸŸ 6297143586 āŸŸ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park āŸŸ 6297143586 āŸŸ Call Me For Genuine S...Call Girls in Nagpur High Profile
Ā 
call girls in Kaushambi (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”...
call girls in Kaushambi (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”...call girls in Kaushambi (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”...
call girls in Kaushambi (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”...Delhi Call girls
Ā 
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...Call Girls in Nagpur High Profile
Ā 
Escorts Service Basapura ā˜Ž 7737669865ā˜Ž Book Your One night Stand (Bangalore)
Escorts Service Basapura ā˜Ž 7737669865ā˜Ž Book Your One night Stand (Bangalore)Escorts Service Basapura ā˜Ž 7737669865ā˜Ž Book Your One night Stand (Bangalore)
Escorts Service Basapura ā˜Ž 7737669865ā˜Ž Book Your One night Stand (Bangalore)amitlee9823
Ā 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...BarusRa
Ā 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation decktbatkhuu1
Ā 

Recently uploaded (20)

Call Girls Basavanagudi Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service ...Call Girls Basavanagudi Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service ...
Ā 
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
Ā 
RT Nagar Call Girls Service: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bang...RT Nagar Call Girls Service: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bang...
Ā 
CALL ON āž„8923113531 šŸ”Call Girls Aminabad Lucknow best Night Fun service
CALL ON āž„8923113531 šŸ”Call Girls Aminabad Lucknow best Night Fun serviceCALL ON āž„8923113531 šŸ”Call Girls Aminabad Lucknow best Night Fun service
CALL ON āž„8923113531 šŸ”Call Girls Aminabad Lucknow best Night Fun service
Ā 
CALL ON āž„8923113531 šŸ”Call Girls Kalyanpur Lucknow best Female service šŸ§µ
CALL ON āž„8923113531 šŸ”Call Girls Kalyanpur Lucknow best Female service  šŸ§µCALL ON āž„8923113531 šŸ”Call Girls Kalyanpur Lucknow best Female service  šŸ§µ
CALL ON āž„8923113531 šŸ”Call Girls Kalyanpur Lucknow best Female service šŸ§µ
Ā 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
Ā 
VVIP CALL GIRLS Lucknow šŸ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow šŸ’“ Lucknow < Renuka Sharma > 7877925207 Escorts ServiceVVIP CALL GIRLS Lucknow šŸ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow šŸ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
Ā 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdf
Ā 
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Ā 
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
Ā 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentation
Ā 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Ā 
young call girls in Pandav nagar šŸ” 9953056974 šŸ” Delhi escort Service
young call girls in Pandav nagar šŸ” 9953056974 šŸ” Delhi escort Serviceyoung call girls in Pandav nagar šŸ” 9953056974 šŸ” Delhi escort Service
young call girls in Pandav nagar šŸ” 9953056974 šŸ” Delhi escort Service
Ā 
Top Rated Pune Call Girls Koregaon Park āŸŸ 6297143586 āŸŸ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park āŸŸ 6297143586 āŸŸ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park āŸŸ 6297143586 āŸŸ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park āŸŸ 6297143586 āŸŸ Call Me For Genuine S...
Ā 
call girls in Kaushambi (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”...
call girls in Kaushambi (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”...call girls in Kaushambi (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”...
call girls in Kaushambi (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”...
Ā 
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
Ā 
Escorts Service Basapura ā˜Ž 7737669865ā˜Ž Book Your One night Stand (Bangalore)
Escorts Service Basapura ā˜Ž 7737669865ā˜Ž Book Your One night Stand (Bangalore)Escorts Service Basapura ā˜Ž 7737669865ā˜Ž Book Your One night Stand (Bangalore)
Escorts Service Basapura ā˜Ž 7737669865ā˜Ž Book Your One night Stand (Bangalore)
Ā 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
Ā 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation deck
Ā 
Call Girls Service Mukherjee Nagar @9999965857 Delhi šŸ«¦ No Advance VVIP šŸŽ SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi šŸ«¦ No Advance  VVIP šŸŽ SER...Call Girls Service Mukherjee Nagar @9999965857 Delhi šŸ«¦ No Advance  VVIP šŸŽ SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi šŸ«¦ No Advance VVIP šŸŽ SER...
Ā 

Getting Information through HTML Forms

  • 1. webDeV@rgu getting information from users html forms quick tipā€¦ THE ā€œSECURITY HACKā€ AT THE END OFTHIS PRESENTATION IS SOMETHINGTHAT EVERYONE SHOULD KNOW!
  • 2. ā€¢ HTML Forms ā€¢ Form Presentation ā€¢ Form Elements ā€¢ Input Types ā€¢ Input Attributes ā€¢ Form Security Overview
  • 4. ā€¢ Capturing user input ā€¢ registering user information ā€¢ entering username and password for login ā€¢ posting status updates to social networks ā€¢ submitting a search query ā€¢ taking a questionnaire ā€¢ Transmitting user input elsewhere ā€¢ send to client side JavaScript for validation ā€¢ send to server side process (PHP, Java, JavaScript) Purpose of html Forms
  • 7. ā€¢ The form tag contains all the input elements ā€¢ <form> ā€¦ </form> ā€¢ Input elements can be of <input type=ā€œā€ /> ā€¢ Text/password/ļ¬le or textarea ā€¢ Radio button or Checkbox ā€¢ Select boxes ā€¢ All input elements should be given a form label ā€¢ Improves accessibility if using a screen reader ā€¢ <label> ā€¦ </label> ā€¢ Fieldsets can be used to graphically group input elements together ā€¢ <ļ¬eldset> ā€¦ </ļ¬eldset> Basic form elements
  • 8. <form> <ļ¬eldset> <legend>Please leave a comment...</legend> <label for="name">Name:</label> <input type="text" name="name" value="" /> <label for="email">Email:</label> <input type="text" name="email" value="" /> <label for="comments">Comment:</label> <textarea name="comments" cols="45ā€œ rows="5"> </textarea> <input type="submit" value="Submit" /> </ļ¬eldset> </form>
  • 9. ā€¢ Best practice is to use CSS ā€¢ However, tables are still used a lot for layout of form elements ā€¢ better than a messy form Form Presentation
  • 10. <form> <ļ¬eldset> <legend>Please leave a comment...</legend> <label for="name">Name:</label> <input type="text" name="name" value="" /> <br> <label for="email">Email:</label> <input type="text" name="email" value="" /> <br> <label for="comments">Comment:</label> <textarea name="comments" cols="45" rows="5"></textarea> <br> <input type="submit" value="Submit" /> </ļ¬eldset> </form>
  • 11. <style> input, textarea {width: 400px;} </style> <form> <ļ¬eldset> <legend>Please leave a comment...</legend> <table> <tr> <td><label>Name:</label></td> <td><input type="text" name="name" value="" /></td> </tr> <tr> <td><label>Email:</label></td> <td><input type="text" name="email" value="" /></td> </tr> <tr> <td><label>Comment:</label></td> <td><textarea name="comments" cols="45" rows="5"> </textarea></td> </tr> <tr> <td colspan=2><input type="submit" value="Submit" /></td> </tr> </table> </ļ¬eldset> </form>
  • 12. Column 1 Column 2 Row 1 Row 2 Row 3 Row 4
  • 13. Form Presentation ā€¢ Best practice is to use CSS ā€¢ However, tables are still used a lot for layout of form elements ā€¢ better than a messy form ā€¢ Next week we will look at CSS in a lot more detail so that you can get the hang of it.
  • 15. ā€¢ Provides simple text input text <form> <label for=ā€œļ¬rstname>First name:</label><br> <input type="text" name="ļ¬rstname"><br> Last name:<br> <input type="text" name="lastname"> </form>
  • 16. ā€¢ Provides text input that is hidden from the user password <form> User name:<br> <input type="text" name="username"><br> User password:<br> <input type="password" name="psw"> </form>
  • 17. <form action="action_page.php"> First name:<br> <input type="text" name="ļ¬rstname" value="Mike"><br> Last name:<br> <input type="text" name="lastname" value="Crabb"><br><br> <input type="submit" value="Submit"> </form> ā€¢ Submit button for forms submit
  • 18. <form> Birthday: <input type="date" name="bday"> </form> ā€¢ The <input type="date"> is used for input ļ¬elds that should contain a date. date
  • 19. ā€¢ Provides for a selection of zero or more items from a list of options checkboxes <input type="checkbox" name="pets" value="loveCats">I love cats <br>ā€Ø <input type="checkbox" name="pets" value="loveDogs">I love dogsā€Ø
  • 20. ā€¢ Provides for only one selection from a list of options Radio buttons <input type="radio" name="cats" value="loveCats">I love cats <br>ā€Ø <input type="radio" name="cats" value="hateCats">I have no soul
  • 21. ā€¢ Choose from a list of options ā€¢ use the <select> tag ā€¢ list <options> Selection (drop down) Box <label for="degreeTitle">Degree Title:</label>ā€Ø <select name="degreeTitle">ā€Ø <option value="cs">Computer Science</option>ā€Ø <option value="dm">Digital Media</option>ā€Ø <option value="cnmd">Computer Network Management and Design</option </select>
  • 22. ā€¢ Provides for only one selection from a list of options coloUr <form> Select your favorite color: <input type="color" name="favcolor"> </form>
  • 23. ā€¢ Provides for only one selection from a list of options email <form> E-mail: <input type="email" name="email"> <input type="submit"> </form>
  • 24. ā€¢ Provides for only one selection from a list of options URL <form> Add your homepage: <input type="url" name="homepage"> </form>
  • 25. HTML5 form improvements email url Reset color check input is valid email address (something@something.something) check input is valid web address (http://www.something.something) Clears everything on the page Select a colour american spelling
  • 27. ā€¢ The value attribute speciļ¬es the initial value for an input ļ¬eld: value <form action=""> First name:<br> <input type="text" name="ļ¬rstname" value="John"> <br> Last name:<br> <input type="text" name="lastname"> </form>
  • 28. ā€¢ The readonly attribute speciļ¬es that the input ļ¬eld is read only (cannot be changed) read only <form action=""> First name:<br> <input type="text" name="ļ¬rstname" value="John" readonly> <br> Last name:<br> <input type="text" name="lastname"> </form>
  • 29. ā€¢ The disabled attribute speciļ¬es that the input ļ¬eld is disabled. ā€¢ A disabled element is un-usable and un-clickable. ā€¢ Disabled elements will not be submitted Disabled <form action=""> First name:<br> <input type="text" name="ļ¬rstname" value="John" disabled> <br> Last name:<br> <input type="text" name="lastname"> </form>
  • 30. ā€¢ The size attribute speciļ¬es the size (in characters) for the input ļ¬eld size <form action=""> First name:<br> <input type="text" name="ļ¬rstname" value="John" size="40"> <br> Last name:<br> <input type="text" name="lastname"> </form>
  • 31. ā€¢ The maxlength attribute speciļ¬es the maximum allowed length for the input ļ¬eld: maxlength <form action=""> First name:<br> <input type="text" name="ļ¬rstname" maxlength="10"> <br> Last name:<br> <input type="text" name="lastname"> </form>
  • 32. ā€¢ The autocomplete attribute speciļ¬es whether a form or input ļ¬eld should have autocomplete on or oļ¬€ autocomplete <form autocomplete="on"> First name:<input type="text" name="fname"><br> Last name: <input type="text" name="lname"><br> E-mail: <input type="email" name="email" autocomplete="oļ¬€"><br> <input type="submit"> </form>
  • 33. placeholder ā€¢ The placeholder attribute speciļ¬es a hint that describes the expected value of an input ļ¬eld (a sample value or a short description of the format). <input type="text" name="fname" placeholder="First name">
  • 34. required ā€¢ When present, it speciļ¬es that an input ļ¬eld must be ļ¬lled out before submitting the form. ā€¢ The required attribute works with the following input types: text, search, url, tel, email, password, date pickers, number, checkbox, radio, and ļ¬le. Username: <input type="text" name="username" required> This one is important
  • 36. form security ā€¢ Forms can be quite insecure when we are using them, we need to make sure that the right data is being seen by the right people ā€¢ and that no-one can get access to the really sensitive data! For exampleā€¦hereā€™s how to ļ¬nd our a password on an unsecured computer PS - DONā€™T DO THIS ONE SOMEONE ELSES COMPUTER - YOUā€™ll GET INTO A LOT OF TROUBLE!!
  • 37. Iā€™ve visited a website and have put in my username and password into the box provided. Letā€™s say that now I have to step away from my computer for 5 secondsā€¦
  • 38. Some unsavoury character comes along and looks at my screen. They right click on the password field and then go to inspect, I wonder what they are up to?
  • 39. Now they are looking at the HTML for this web page and have an interest in the field that my password is in. Itā€™s okā€¦its secure (it really isnā€™t).
  • 40. They change the form element from: <input type=ā€œPasswordā€> to <Input Type=ā€œtextā€> and now my password is being shown to the world #awkward!
  • 41. ā€¢ HTML Forms ā€¢ Form Presentation ā€¢ Form Elements ā€¢ Input Types ā€¢ Input Attributes ā€¢ Form Security Recap
  • 42. get in touch! @mike_crabb Lecturer in Web Development at Robert Gordon University (Scotland) @rgucomputing Robert Gordon University - School of Computing Science and Digital Media