SlideShare a Scribd company logo
HTML Forms are required, when you want to collect
some data from the site visitor.
For example, during user registration you would like
to collect information such as name, email address,
credit card, etc.
1 action
Backend script ready to process your passed data.
2 method
Method to be used to upload data. The most frequently used
are GET and POST methods.
3 target
Specify the target window or frame where the result of the
script will be displayed. It takes values like _blank, _self,
_parent etc.
1.Text Input Controls
2.Checkboxes Controls
3.Radio Box Controls
4.Select Box Controls
5.File Select boxes
6.Hidden Controls
7.Clickable Buttons
8.Submit and Reset Button
HTML Form Controls
 Single line text control
•They are created using HTMLSingle-line
text input controls
•ML <input> tag.
•Password input control
• They are also created using HTMl
<input> tag.
•Multi-line text input controls
•Multi-line input controls are created using
HTML <textarea> tag
Text Input Controls
The HTML <form> element defines a form that
is used to collect user input:
<form>
.
form elements
.
</form>
The<form> Element
<form action="/action_page.php">
First name:<br>
<input type="text" name="firstname" value="Mick
ey"><br>
Last name:<br>
<input type="text" name="lastname" value="Mou
se"><br><br>
<input type="submit" value="Submit">
</form>
Sr.No Type & Description
1 submit
This creates a button that automatically submits a form.
2 reset
This creates a button that automatically resets form controls to their initial values.
3 button
This creates a button that is used to trigger a client-side script when the user clicks that
button.
4 image
This creates a clickable button but we can use an image as background of the button.
Hidden form controls are used to hide data inside the page which later on can be
pushed to the server. This control hides inside the code and does not appear on
the actual page.
<html>
<head>
<tittle>file upload box </tittle>
</head>
<body>
<form>
<p> this page 10</p>
<input type=“hidden” name=“pagename” value=“10”/>
<input type=“submit” name=“submit” value=“submit”/>
<input type=“reset” name = “reset” value=“reset”/>
</form>
</body>
</html>
THANK YOU

More Related Content

Similar to Html Forms (20)

PPTX
HTML Forms.pptx ( web development html / css)
iidkaafi48
 
PPTX
HTML Forms
Ravinder Kamboj
 
PPTX
lecture9-10-160807085530.pptx dgdg fdgdfv ds
drpreetiwctm
 
PPTX
Html forms
Himanshu Pathak
 
PPTX
Gitika html ppt
gitika -
 
PPTX
Html forms
KoreshPadhi
 
PPTX
Form using html and java script validation
Maitree Patel
 
PPTX
HTML_Forms_Guide--------------- (1).pptx
deepika995977
 
PPSX
Computer language - Html forms
Dr. I. Uma Maheswari Maheswari
 
PPTX
Std 12 Computer Chapter 1 Creating Html Forms Using KompoZer
Nuzhat Memon
 
PDF
HTML-Forms
Ahmed Saihood
 
PPTX
uptu web technology unit 2 html
Abhishek Kesharwani
 
DOCX
Html forms
Abhishek Kesharwani
 
PPTX
Html Xhtml And Xml 3e Tutorial 6
larsonsb
 
PDF
CSS_Forms.pdf
gunjansingh599205
 
PDF
WEB DESIGN AND INTERNET PROGRAMMING LAB MANUAL.pdf
mmgg1621
 
PPTX
HTML Forms Basics by Kamran Solangi.pptx
KamranSolangi1
 
HTML Forms.pptx ( web development html / css)
iidkaafi48
 
HTML Forms
Ravinder Kamboj
 
lecture9-10-160807085530.pptx dgdg fdgdfv ds
drpreetiwctm
 
Html forms
Himanshu Pathak
 
Gitika html ppt
gitika -
 
Html forms
KoreshPadhi
 
Form using html and java script validation
Maitree Patel
 
HTML_Forms_Guide--------------- (1).pptx
deepika995977
 
Computer language - Html forms
Dr. I. Uma Maheswari Maheswari
 
Std 12 Computer Chapter 1 Creating Html Forms Using KompoZer
Nuzhat Memon
 
HTML-Forms
Ahmed Saihood
 
uptu web technology unit 2 html
Abhishek Kesharwani
 
Html Xhtml And Xml 3e Tutorial 6
larsonsb
 
CSS_Forms.pdf
gunjansingh599205
 
WEB DESIGN AND INTERNET PROGRAMMING LAB MANUAL.pdf
mmgg1621
 
HTML Forms Basics by Kamran Solangi.pptx
KamranSolangi1
 

Recently uploaded (20)

PPTX
Introduction to Fluid and Thermal Engineering
Avesahemad Husainy
 
PDF
Jual GPS Geodetik CHCNAV i93 IMU-RTK Lanjutan dengan Survei Visual
Budi Minds
 
PPTX
Water resources Engineering GIS KRT.pptx
Krunal Thanki
 
PPTX
Inventory management chapter in automation and robotics.
atisht0104
 
PDF
Zero carbon Building Design Guidelines V4
BassemOsman1
 
PPTX
Precedence and Associativity in C prog. language
Mahendra Dheer
 
PPTX
filteration _ pre.pptx 11111110001.pptx
awasthivaibhav825
 
PDF
Air -Powered Car PPT by ER. SHRESTH SUDHIR KOKNE.pdf
SHRESTHKOKNE
 
PDF
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
PDF
Irrigation Project Report, CTEVT, Diploma in Civil engineering
civilhack22
 
PDF
4 Tier Teamcenter Installation part1.pdf
VnyKumar1
 
PDF
SG1-ALM-MS-EL-30-0008 (00) MS - Isolators and disconnecting switches.pdf
djiceramil
 
PPTX
Fluid statistics and Numerical on pascal law
Ravindra Kolhe
 
PDF
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
PPTX
UNIT III CONTROL OF PARTICULATE CONTAMINANTS
sundharamm
 
PPTX
Sensor IC System Design Using COMSOL Multiphysics 2025-July.pptx
James D.B. Wang, PhD
 
PDF
Introduction to Robotics Mechanics and Control 4th Edition by John J. Craig S...
solutionsmanual3
 
PPTX
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
PPTX
Online Cab Booking and Management System.pptx
diptipaneri80
 
PPTX
Ground improvement techniques-DEWATERING
DivakarSai4
 
Introduction to Fluid and Thermal Engineering
Avesahemad Husainy
 
Jual GPS Geodetik CHCNAV i93 IMU-RTK Lanjutan dengan Survei Visual
Budi Minds
 
Water resources Engineering GIS KRT.pptx
Krunal Thanki
 
Inventory management chapter in automation and robotics.
atisht0104
 
Zero carbon Building Design Guidelines V4
BassemOsman1
 
Precedence and Associativity in C prog. language
Mahendra Dheer
 
filteration _ pre.pptx 11111110001.pptx
awasthivaibhav825
 
Air -Powered Car PPT by ER. SHRESTH SUDHIR KOKNE.pdf
SHRESTHKOKNE
 
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
Irrigation Project Report, CTEVT, Diploma in Civil engineering
civilhack22
 
4 Tier Teamcenter Installation part1.pdf
VnyKumar1
 
SG1-ALM-MS-EL-30-0008 (00) MS - Isolators and disconnecting switches.pdf
djiceramil
 
Fluid statistics and Numerical on pascal law
Ravindra Kolhe
 
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
UNIT III CONTROL OF PARTICULATE CONTAMINANTS
sundharamm
 
Sensor IC System Design Using COMSOL Multiphysics 2025-July.pptx
James D.B. Wang, PhD
 
Introduction to Robotics Mechanics and Control 4th Edition by John J. Craig S...
solutionsmanual3
 
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
Online Cab Booking and Management System.pptx
diptipaneri80
 
Ground improvement techniques-DEWATERING
DivakarSai4
 
Ad

Html Forms

  • 1. HTML Forms are required, when you want to collect some data from the site visitor. For example, during user registration you would like to collect information such as name, email address, credit card, etc.
  • 2. 1 action Backend script ready to process your passed data. 2 method Method to be used to upload data. The most frequently used are GET and POST methods. 3 target Specify the target window or frame where the result of the script will be displayed. It takes values like _blank, _self, _parent etc.
  • 3. 1.Text Input Controls 2.Checkboxes Controls 3.Radio Box Controls 4.Select Box Controls 5.File Select boxes 6.Hidden Controls 7.Clickable Buttons 8.Submit and Reset Button HTML Form Controls
  • 4.  Single line text control •They are created using HTMLSingle-line text input controls •ML <input> tag. •Password input control • They are also created using HTMl <input> tag. •Multi-line text input controls •Multi-line input controls are created using HTML <textarea> tag Text Input Controls
  • 5. The HTML <form> element defines a form that is used to collect user input: <form> . form elements . </form> The<form> Element
  • 6. <form action="/action_page.php"> First name:<br> <input type="text" name="firstname" value="Mick ey"><br> Last name:<br> <input type="text" name="lastname" value="Mou se"><br><br> <input type="submit" value="Submit"> </form>
  • 7. Sr.No Type & Description 1 submit This creates a button that automatically submits a form. 2 reset This creates a button that automatically resets form controls to their initial values. 3 button This creates a button that is used to trigger a client-side script when the user clicks that button. 4 image This creates a clickable button but we can use an image as background of the button.
  • 8. Hidden form controls are used to hide data inside the page which later on can be pushed to the server. This control hides inside the code and does not appear on the actual page.
  • 9. <html> <head> <tittle>file upload box </tittle> </head> <body> <form> <p> this page 10</p> <input type=“hidden” name=“pagename” value=“10”/> <input type=“submit” name=“submit” value=“submit”/> <input type=“reset” name = “reset” value=“reset”/> </form> </body> </html>