SlideShare uma empresa Scribd logo
1 de 32
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

Html basics 10 form
Html basics 10 formHtml basics 10 form
Html basics 10 formH 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 examAnne Perera
 
Html5 structure tags
Html5 structure tagsHtml5 structure tags
Html5 structure tagsSEO SKills
 
PHP Forms PHP 05
PHP Forms PHP 05PHP Forms PHP 05
PHP Forms PHP 05Spy Seat
 
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 bangalorefathima12
 
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 Cetrejatin batra
 
Handout2 formatting tags
Handout2 formatting tagsHandout2 formatting tags
Handout2 formatting tagsNadine Guevarra
 
HyperText Markup Language - HTML
HyperText Markup Language - HTMLHyperText Markup Language - HTML
HyperText Markup Language - HTMLSun Technlogies
 
Twitter Bootstrap Comprehensive Overview
Twitter Bootstrap Comprehensive OverviewTwitter Bootstrap Comprehensive Overview
Twitter Bootstrap Comprehensive OverviewMohamed Loey
 

Mais procurados (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
 

Semelhante a 4.1 html lec 4

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 phpherat 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 inputJesus Obenita Jr.
 
I211 – Information Infrastructure IILecture 20TodayCGI.docx
I211 – Information Infrastructure IILecture 20TodayCGI.docxI211 – Information Infrastructure IILecture 20TodayCGI.docx
I211 – Information Infrastructure IILecture 20TodayCGI.docxflorriezhamphrey3065
 
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
 
Web Development Course: PHP lecture 2
Web Development Course: PHP lecture 2Web Development Course: PHP lecture 2
Web Development Course: PHP lecture 2Gheyath M. Othman
 
HTML5 - Forms
HTML5 - FormsHTML5 - Forms
HTML5 - Formstina1357
 
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 veligetiNaveen Kumar Veligeti
 
18servers And Forms
18servers And Forms18servers And Forms
18servers And FormsAdil Jafri
 
計算機概論20161205
計算機概論20161205計算機概論20161205
計算機概論20161205志宇 許
 
Web Technology Lab File
Web Technology Lab FileWeb Technology Lab File
Web Technology Lab FileKandarp Tiwari
 

Semelhante a 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
 

Mais de 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
 

Mais de 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
 

Último

Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 

Último (20)

Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 

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