SlideShare a Scribd company logo
IoT Code LabS M A R T T E C H L I F E
iotcodelab.com
RESEARCH DEVELOPMENT TRAINING
HTML: LEC 4
F O R M ( B A S I C )
HTML : FORM
Forms is used to take User Input
We Make a Form using HTML Code
Form Data is processed by PHP
HTML : FORM
<form>
<input type=“text”><br><br>
<input type=“password”><br><br>
<input type=“submit”>
</form>
HTML : FORM INPUT
<form>
<input type=“text”><br><br>
<input type=“password”><br><br>
</form>
HTML : FORM SUBMIT
<form>
<input type=“text”><br><br>
<input type=“password”><br><br>
<input type=“submit”>
</form>
HTML : FORM RESET
<form>
<input type=“text”><br><br>
<input type=“password”><br><br>
<input type=“submit”>
<input type=“reset”>
</form>
FORM: FIELDSET
<form>
<fieldset>
<legend>Log in</legend>
<input type=“text”><br><br>
<input type=“password”><br><br>
<input type=“submit”>
</fieldset>
</form>
FORM: OUTPUT
FORM: OUTPUT
<form>
User Name: <input type=“text”><br><br>
Password: <input type=“password”><br><br>
<input type=“submit” value=“Login”>
</form>
FORM: LABEL 1
<form>
<label for=“username”>User Name:</label>
<input type=“text” id=“username”>
<br><br>
<label for=“password”>Password:</label>
<input type=“password” id=“password”>
<br><br>
<input type=“submit” value=“Login”>
</form>
FORM: LABEL 2
<form>
<label>User Name:
<input type=“text”>
</label><br><br>
<label> Password:
<input type=“password”>
</label><br><br>
<input type=“submit” value=“Login”>
</form>
FORM: INPUT PLACEHOLDER
<form>
<input type=“text” placeholder=“User Name”>
<br><br>
<input type=“password” placeholder=“Password”>
<br><br>
<input type=“submit” value=“Login”>
</form>
FORM: INPUT LABEL 1/PLACEHOLDER
<form>
<label for=“username”>User Name:</label>
<input type=“text” id=“username” placeholder=“User Name”>
<br><br>
<label for=“password”>Password:</label>
<input type=“password” id=“password” placeholder=“password”>
<br><br>
<input type=“submit” value=“Login”>
</form>
FORM: INPUT LABEL 2/PLACEHOLDER
<form>
<label>User Name:
<input type=“text” placeholder=“User Name”>
</label><br><br>
<label>Password:
<input type=“password” placeholder=“password”>
</label><br><br>
<input type=“submit” value=“Login”>
</form>
FORM: INPUT VALUE
<form>
<label>User Name:
<input type=“text” name=“username” value=“User”>
</label><br><br>
<label>Password :
<input type=“password” name=“password”>
</label><br><br>
<input type=“submit” value=“Log in”>
</form>
FORM: INPUT SIZE
<form>
<label>User Name:
<input type=“text” size=“50”>
</label><br><br>
<label>Password :
<input type=“password” size=“50”>
</label><br><br>
<input type=“submit” value=“Log in”>
</form>
FORM: INPUT REQUIRED
<form>
<label>User Name:
<input type=“text” required>
</label><br><br>
<label>Password :
<input type=“password” required>
</label><br><br>
<input type=“submit” value=“Log in”>
</form>
FORM: INPUT AUTOFOCUS
<form>
<label>User Name:
<input type=“text” autofocus>
</label><br><br>
<label>Password :
<input type=“password”>
</label><br><br>
<input type=“submit” value=“Log in”>
</form>
FORM: INPUT NAME
<form>
<label>User Name:
<input type=“text” name=“username”>
</label><br><br>
<label>Password :
<input type=“password” name=“password”>
</label><br><br>
<input type=“submit” name=“submit” value=“Login”>
</form>
FORM: ACTION
<form action=“process.php”>
<label>User Name:
<input type=“text” name=“username”>
</label><br><br>
<label>Password :
<input type=“password” name=“password”>
</label><br><br>
<input type=“submit” name=“submit” value=“Login”>
</form>
FORM: METHOD (GET)
<form method=“get” action=“process.php”>
<label>User Name:
<input type=“text” name=“username”>
</label><br><br>
<label>Password :
<input type=“password” name=“password”>
</label><br><br>
<input type=“submit” name=“submit” value=“Login”>
</form>
FORM: METHOD (POST)
<form method=“post” action=“process.php”>
<label>User Name:
<input type=“text” name=“username”>
</label><br><br>
<label>Password :
<input type=“password” name=“password”>
</label><br><br>
<input type=“submit” name=“submit” value=“Login”>
</form>
FORM: TARGET self
<form method=“post” action=“process.php” target=“_self”>
<label>User Name:
<input type=“text” name=“username”>
</label><br><br>
<label>Password :
<input type=“password” name=“password”>
</label><br><br>
<input type=“submit” name=“submit” value=“Login”>
</form>
FORM: TARGET blank
<form method=“post” action=“process.php” target=“_blank”>
<label>User Name:
<input type=“text” name=“username”>
</label><br><br>
<label>Password :
<input type=“password” name=“password”>
</label><br><br>
<input type=“submit” name=“submit” value=“Login”>
</form>
FORM: PROCESS [GET]
<?php
echo $_GET[“username”];
echo $_GET[“password”];
?>
FORM: PROCESS [POST]
<?php
echo $_POST[“username”];
echo $_POST[“password”];
?>
TOPIC COVERED
Form
method
o get
o post
action
target
label
fieldset
legend
input
type
name
placeholder
value
size
required
autofocus
ANY
QUESTION?
IoT Code LabS M A R T T E C H L I F E
iotcodelab.com
RESEARCH DEVELOPMENT TRAINING

More Related Content

What's hot

Html basics 10 form
Html basics 10 formHtml basics 10 form
Html basics 10 form
H K
 
Class 10th FIT Practical File(HTML)
Class 10th FIT Practical File(HTML)Class 10th FIT Practical File(HTML)
Class 10th FIT Practical File(HTML)
Anushka Rai
 
HTML practical guide for O/L exam
HTML practical guide for O/L examHTML practical guide for O/L exam
HTML practical guide for O/L exam
Anne Perera
 
Html5 structure tags
Html5 structure tagsHtml5 structure tags
Html5 structure tags
SEO SKills
 
Learning Html
Learning HtmlLearning Html
Learning Html
Damian Gonz
 
PHP Forms PHP 05
PHP Forms PHP 05PHP Forms PHP 05
PHP Forms PHP 05
Spy Seat
 
Introhtml 2
Introhtml 2Introhtml 2
Introhtml 2
bluejayjunior
 
WDD
WDDWDD
Learn HTML Easier
Learn HTML EasierLearn HTML Easier
Learn HTML Easier
Karthick Mathesh
 
Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalore
fathima12
 
Html basics
Html basicsHtml basics
Html basics
Vjay Vijju
 
Html presentation
Html presentationHtml presentation
Html presentation
Amber Bhaumik
 
HTML Training Centre in Ambala ! Batra Computer Cetre
HTML Training Centre in Ambala ! Batra Computer CetreHTML Training Centre in Ambala ! Batra Computer Cetre
HTML Training Centre in Ambala ! Batra Computer Cetre
jatin batra
 
Html forms
Html formsHtml forms
Html forms
nobel mujuji
 
Handout2 formatting tags
Handout2 formatting tagsHandout2 formatting tags
Handout2 formatting tags
Nadine Guevarra
 
HyperText Markup Language - HTML
HyperText Markup Language - HTMLHyperText Markup Language - HTML
HyperText Markup Language - HTML
Sun Technlogies
 
Twitter Bootstrap Comprehensive Overview
Twitter Bootstrap Comprehensive OverviewTwitter Bootstrap Comprehensive Overview
Twitter Bootstrap Comprehensive Overview
Mohamed Loey
 

What's hot (17)

Html basics 10 form
Html basics 10 formHtml basics 10 form
Html basics 10 form
 
Class 10th FIT Practical File(HTML)
Class 10th FIT Practical File(HTML)Class 10th FIT Practical File(HTML)
Class 10th FIT Practical File(HTML)
 
HTML practical guide for O/L exam
HTML practical guide for O/L examHTML practical guide for O/L exam
HTML practical guide for O/L exam
 
Html5 structure tags
Html5 structure tagsHtml5 structure tags
Html5 structure tags
 
Learning Html
Learning HtmlLearning Html
Learning Html
 
PHP Forms PHP 05
PHP Forms PHP 05PHP Forms PHP 05
PHP Forms PHP 05
 
Introhtml 2
Introhtml 2Introhtml 2
Introhtml 2
 
WDD
WDDWDD
WDD
 
Learn HTML Easier
Learn HTML EasierLearn HTML Easier
Learn HTML Easier
 
Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalore
 
Html basics
Html basicsHtml basics
Html basics
 
Html presentation
Html presentationHtml presentation
Html presentation
 
HTML Training Centre in Ambala ! Batra Computer Cetre
HTML Training Centre in Ambala ! Batra Computer CetreHTML Training Centre in Ambala ! Batra Computer Cetre
HTML Training Centre in Ambala ! Batra Computer Cetre
 
Html forms
Html formsHtml forms
Html forms
 
Handout2 formatting tags
Handout2 formatting tagsHandout2 formatting tags
Handout2 formatting tags
 
HyperText Markup Language - HTML
HyperText Markup Language - HTMLHyperText Markup Language - HTML
HyperText Markup Language - HTML
 
Twitter Bootstrap Comprehensive Overview
Twitter Bootstrap Comprehensive OverviewTwitter Bootstrap Comprehensive Overview
Twitter Bootstrap Comprehensive Overview
 

Similar to 4.1 html lec 4

5.1 html lec 5
5.1 html lec 55.1 html lec 5
5.1 html lec 5
IoT Code Lab
 
Login and Registration form using oop in php
Login and Registration form using oop in phpLogin and Registration form using oop in php
Login and Registration form using oop in php
herat university
 
Designing web pages html forms and input
Designing web pages html  forms and inputDesigning web pages html  forms and input
Designing web pages html forms and input
Jesus Obenita Jr.
 
HTML FORMS.pptx
HTML FORMS.pptxHTML FORMS.pptx
HTML FORMS.pptx
Sierranaijamusic
 
I211 – Information Infrastructure IILecture 20TodayCGI.docx
I211 – Information Infrastructure IILecture 20TodayCGI.docxI211 – Information Infrastructure IILecture 20TodayCGI.docx
I211 – Information Infrastructure IILecture 20TodayCGI.docx
florriezhamphrey3065
 
Begin scripting
Begin scriptingBegin scripting
Begin scripting
Debjani Roy
 
Lesson 1
Lesson 1Lesson 1
Lesson 1
vmmanikandan
 
Introduction html
Introduction htmlIntroduction html
Introduction html
Mayank Saxena
 
Html form tag
Html form tagHtml form tag
Html form tag
shreyachougule
 
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
Maitree Patel
 
JS1.pdf
JS1.pdfJS1.pdf
JS1.pdf
Fajar Baskoro
 
Html forms
Html formsHtml forms
Html forms
KoreshPadhi
 
PHP-04-Forms.ppt
PHP-04-Forms.pptPHP-04-Forms.ppt
PHP-04-Forms.ppt
NatureLifearabhi
 
Web Development Course: PHP lecture 2
Web Development Course: PHP lecture 2Web Development Course: PHP lecture 2
Web Development Course: PHP lecture 2
Gheyath M. Othman
 
HTML5 - Forms
HTML5 - FormsHTML5 - Forms
HTML5 - Forms
tina1357
 
Php forms and validations by naveen kumar veligeti
Php forms and validations by naveen kumar veligetiPhp forms and validations by naveen kumar veligeti
Php forms and validations by naveen kumar veligeti
Naveen Kumar Veligeti
 
18servers And Forms
18servers And Forms18servers And Forms
18servers And Forms
Adil Jafri
 
計算機概論20161205
計算機概論20161205計算機概論20161205
計算機概論20161205
志宇 許
 
3 php forms
3 php forms3 php forms
3 php forms
hello8421
 
Web Technology Lab File
Web Technology Lab FileWeb Technology Lab File
Web Technology Lab File
Kandarp Tiwari
 

Similar to 4.1 html lec 4 (20)

5.1 html lec 5
5.1 html lec 55.1 html lec 5
5.1 html lec 5
 
Login and Registration form using oop in php
Login and Registration form using oop in phpLogin and Registration form using oop in php
Login and Registration form using oop in php
 
Designing web pages html forms and input
Designing web pages html  forms and inputDesigning web pages html  forms and input
Designing web pages html forms and input
 
HTML FORMS.pptx
HTML FORMS.pptxHTML FORMS.pptx
HTML FORMS.pptx
 
I211 – Information Infrastructure IILecture 20TodayCGI.docx
I211 – Information Infrastructure IILecture 20TodayCGI.docxI211 – Information Infrastructure IILecture 20TodayCGI.docx
I211 – Information Infrastructure IILecture 20TodayCGI.docx
 
Begin scripting
Begin scriptingBegin scripting
Begin scripting
 
Lesson 1
Lesson 1Lesson 1
Lesson 1
 
Introduction html
Introduction htmlIntroduction html
Introduction html
 
Html form tag
Html form tagHtml form tag
Html form tag
 
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
 
JS1.pdf
JS1.pdfJS1.pdf
JS1.pdf
 
Html forms
Html formsHtml forms
Html forms
 
PHP-04-Forms.ppt
PHP-04-Forms.pptPHP-04-Forms.ppt
PHP-04-Forms.ppt
 
Web Development Course: PHP lecture 2
Web Development Course: PHP lecture 2Web Development Course: PHP lecture 2
Web Development Course: PHP lecture 2
 
HTML5 - Forms
HTML5 - FormsHTML5 - Forms
HTML5 - Forms
 
Php forms and validations by naveen kumar veligeti
Php forms and validations by naveen kumar veligetiPhp forms and validations by naveen kumar veligeti
Php forms and validations by naveen kumar veligeti
 
18servers And Forms
18servers And Forms18servers And Forms
18servers And Forms
 
計算機概論20161205
計算機概論20161205計算機概論20161205
計算機概論20161205
 
3 php forms
3 php forms3 php forms
3 php forms
 
Web Technology Lab File
Web Technology Lab FileWeb Technology Lab File
Web Technology Lab File
 

More from IoT Code Lab

Chapter 1 Basic Programming (Python Programming Lecture)
Chapter 1 Basic Programming (Python Programming Lecture)Chapter 1 Basic Programming (Python Programming Lecture)
Chapter 1 Basic Programming (Python Programming Lecture)
IoT Code Lab
 
Chapter 2 Decision Making (Python Programming Lecture)
Chapter 2 Decision Making (Python Programming Lecture)Chapter 2 Decision Making (Python Programming Lecture)
Chapter 2 Decision Making (Python Programming Lecture)
IoT Code Lab
 
Chapter 0 Python Overview (Python Programming Lecture)
Chapter 0 Python Overview (Python Programming Lecture)Chapter 0 Python Overview (Python Programming Lecture)
Chapter 0 Python Overview (Python Programming Lecture)
IoT Code Lab
 
3.1 html lec 3
3.1 html lec 33.1 html lec 3
3.1 html lec 3
IoT Code Lab
 
2.1 html lec 2
2.1 html lec 22.1 html lec 2
2.1 html lec 2
IoT Code Lab
 
1.0 intro
1.0 intro1.0 intro
1.0 intro
IoT Code Lab
 

More from IoT Code Lab (6)

Chapter 1 Basic Programming (Python Programming Lecture)
Chapter 1 Basic Programming (Python Programming Lecture)Chapter 1 Basic Programming (Python Programming Lecture)
Chapter 1 Basic Programming (Python Programming Lecture)
 
Chapter 2 Decision Making (Python Programming Lecture)
Chapter 2 Decision Making (Python Programming Lecture)Chapter 2 Decision Making (Python Programming Lecture)
Chapter 2 Decision Making (Python Programming Lecture)
 
Chapter 0 Python Overview (Python Programming Lecture)
Chapter 0 Python Overview (Python Programming Lecture)Chapter 0 Python Overview (Python Programming Lecture)
Chapter 0 Python Overview (Python Programming Lecture)
 
3.1 html lec 3
3.1 html lec 33.1 html lec 3
3.1 html lec 3
 
2.1 html lec 2
2.1 html lec 22.1 html lec 2
2.1 html lec 2
 
1.0 intro
1.0 intro1.0 intro
1.0 intro
 

Recently uploaded

THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
indexPub
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
khuleseema60
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
nitinpv4ai
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
deepaannamalai16
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
nitinpv4ai
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
TechSoup
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
IsmaelVazquez38
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Henry Hollis
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
Stack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 MicroprocessorStack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 Microprocessor
JomonJoseph58
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
RamseyBerglund
 

Recently uploaded (20)

THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
Stack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 MicroprocessorStack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 Microprocessor
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
 

4.1 html lec 4

  • 1.
  • 2. IoT Code LabS M A R T T E C H L I F E iotcodelab.com RESEARCH DEVELOPMENT TRAINING
  • 3. HTML: LEC 4 F O R M ( B A S I C )
  • 4. HTML : FORM Forms is used to take User Input We Make a Form using HTML Code Form Data is processed by PHP
  • 5. HTML : FORM <form> <input type=“text”><br><br> <input type=“password”><br><br> <input type=“submit”> </form>
  • 6. HTML : FORM INPUT <form> <input type=“text”><br><br> <input type=“password”><br><br> </form>
  • 7. HTML : FORM SUBMIT <form> <input type=“text”><br><br> <input type=“password”><br><br> <input type=“submit”> </form>
  • 8. HTML : FORM RESET <form> <input type=“text”><br><br> <input type=“password”><br><br> <input type=“submit”> <input type=“reset”> </form>
  • 9. FORM: FIELDSET <form> <fieldset> <legend>Log in</legend> <input type=“text”><br><br> <input type=“password”><br><br> <input type=“submit”> </fieldset> </form>
  • 11. FORM: OUTPUT <form> User Name: <input type=“text”><br><br> Password: <input type=“password”><br><br> <input type=“submit” value=“Login”> </form>
  • 12. FORM: LABEL 1 <form> <label for=“username”>User Name:</label> <input type=“text” id=“username”> <br><br> <label for=“password”>Password:</label> <input type=“password” id=“password”> <br><br> <input type=“submit” value=“Login”> </form>
  • 13. FORM: LABEL 2 <form> <label>User Name: <input type=“text”> </label><br><br> <label> Password: <input type=“password”> </label><br><br> <input type=“submit” value=“Login”> </form>
  • 14. FORM: INPUT PLACEHOLDER <form> <input type=“text” placeholder=“User Name”> <br><br> <input type=“password” placeholder=“Password”> <br><br> <input type=“submit” value=“Login”> </form>
  • 15. FORM: INPUT LABEL 1/PLACEHOLDER <form> <label for=“username”>User Name:</label> <input type=“text” id=“username” placeholder=“User Name”> <br><br> <label for=“password”>Password:</label> <input type=“password” id=“password” placeholder=“password”> <br><br> <input type=“submit” value=“Login”> </form>
  • 16. FORM: INPUT LABEL 2/PLACEHOLDER <form> <label>User Name: <input type=“text” placeholder=“User Name”> </label><br><br> <label>Password: <input type=“password” placeholder=“password”> </label><br><br> <input type=“submit” value=“Login”> </form>
  • 17. FORM: INPUT VALUE <form> <label>User Name: <input type=“text” name=“username” value=“User”> </label><br><br> <label>Password : <input type=“password” name=“password”> </label><br><br> <input type=“submit” value=“Log in”> </form>
  • 18. FORM: INPUT SIZE <form> <label>User Name: <input type=“text” size=“50”> </label><br><br> <label>Password : <input type=“password” size=“50”> </label><br><br> <input type=“submit” value=“Log in”> </form>
  • 19. FORM: INPUT REQUIRED <form> <label>User Name: <input type=“text” required> </label><br><br> <label>Password : <input type=“password” required> </label><br><br> <input type=“submit” value=“Log in”> </form>
  • 20. FORM: INPUT AUTOFOCUS <form> <label>User Name: <input type=“text” autofocus> </label><br><br> <label>Password : <input type=“password”> </label><br><br> <input type=“submit” value=“Log in”> </form>
  • 21. FORM: INPUT NAME <form> <label>User Name: <input type=“text” name=“username”> </label><br><br> <label>Password : <input type=“password” name=“password”> </label><br><br> <input type=“submit” name=“submit” value=“Login”> </form>
  • 22. FORM: ACTION <form action=“process.php”> <label>User Name: <input type=“text” name=“username”> </label><br><br> <label>Password : <input type=“password” name=“password”> </label><br><br> <input type=“submit” name=“submit” value=“Login”> </form>
  • 23. FORM: METHOD (GET) <form method=“get” action=“process.php”> <label>User Name: <input type=“text” name=“username”> </label><br><br> <label>Password : <input type=“password” name=“password”> </label><br><br> <input type=“submit” name=“submit” value=“Login”> </form>
  • 24. FORM: METHOD (POST) <form method=“post” action=“process.php”> <label>User Name: <input type=“text” name=“username”> </label><br><br> <label>Password : <input type=“password” name=“password”> </label><br><br> <input type=“submit” name=“submit” value=“Login”> </form>
  • 25. FORM: TARGET self <form method=“post” action=“process.php” target=“_self”> <label>User Name: <input type=“text” name=“username”> </label><br><br> <label>Password : <input type=“password” name=“password”> </label><br><br> <input type=“submit” name=“submit” value=“Login”> </form>
  • 26. FORM: TARGET blank <form method=“post” action=“process.php” target=“_blank”> <label>User Name: <input type=“text” name=“username”> </label><br><br> <label>Password : <input type=“password” name=“password”> </label><br><br> <input type=“submit” name=“submit” value=“Login”> </form>
  • 27. FORM: PROCESS [GET] <?php echo $_GET[“username”]; echo $_GET[“password”]; ?>
  • 28. FORM: PROCESS [POST] <?php echo $_POST[“username”]; echo $_POST[“password”]; ?>
  • 29. TOPIC COVERED Form method o get o post action target label fieldset legend input type name placeholder value size required autofocus
  • 31.
  • 32. IoT Code LabS M A R T T E C H L I F E iotcodelab.com RESEARCH DEVELOPMENT TRAINING