SlideShare a Scribd company logo
2.2 Forms Intro
HTML module 22.2 Forms intro
Terugblik!
Tables!
HTML module 22.2 Forms intro
HTML module 2
<table>
Het <table> element wordt
gebruikt voor het aanmaken van
een tabel.
<caption>
Het <caption> element wordt
gebruikt voor het plaatsen
van een legenda boven de tabel.
2.2 Forms intro
HTML module 2
<tr>
De start van iedere rij in tabel
gebeurt met de <tr> tag
tr staat voor table row.
2.2 Forms intro
HTML module 2
<th>
Het <th> element gebruik je voor
het maken van de heading van
iedere kolom in de tabel
2.2 Forms intro
HTML module 2
<td>
Iedere cel van de tabel wordt
gemaakt met de <td> tag.
2.2 Forms intro
HTML module 2
colspan
Soms is het nodig dat cellen van een
tabel uit meerdere rijen kan bestaan.
Dit kan met de colspan attribuut.
De colspan attribuut wordt gebruikt met
het <td> en <th> element.
2.2 Forms intro
HTML module 2
colspan
Beetje style toegevoegd.
2.2 Forms intro
CSS :nth-child() Selector
HTML module 2
Hiermee kan je de style bepalen vanaf de parent
2.2 Forms intro
CSS :nth-child() Selector
HTML module 2
Je kan ook even en oneven child’s selecteren
2.2 Forms intro
CSS :nth-child() Selector
HTML module 2
Je kan ook met een formule child’s selecteren
Style iedere 3e child vanaf 0.
2.2 Forms intro
HTML module 2
Tabel Responsive
Tabellen maak je responsive door aanpassen style
1e stap
Plaats huidige css code in de @media voor overige
devices.
2.2 Forms intro
Lesdoel!
Hoe en wanneer gebruik je forms!
HTML module 22.2 Forms intro
FORMS
HTML module 22.2 Forms intro
Voorbeeld 1
HTML module 22.2 Forms intro
Voorbeeld 2
HTML module 22.2 Forms intro
Voorbeeld 3
Forms zijn voor het delen, verzamelen en
opvragen van gegevens.
• Aanvraagformulier account
• Reserveringen formulier
• Inlogscherm
• Bestelformulier
• Zoeken
• Etc
FORMS
HTML module 22.2 Forms intro
HTML module 22.2 Forms intro
Eenvoudig formulier voor aanvragen account
Ingrediënten
• <form> </form>
• <input>
• <table></table>
• <tr></tr>
• <td></td>
• Name-attribuut
• style
HTML module 22.2 Forms intro
<form>
Het <form> element wordt
gebruikt voor het aanmaken van
een formulier.
<table>
Het <table> element wordt
gebruikt voor het aanmaken van
een tabel.
HTML module 22.2 Forms intro
<input>
Het <input> element wordt
gebruikt voor het aanmaken van
een invoerveld.
HTML module 22.2 Forms intro
<input Types>
Input type geeft je de mogelijkheid
het type invoerveld te bepalen
In het voorbeeld gebruiken we
4 verschillende inputtypes nl:
• Text (plain tekst alle karakter)
• Email (moet @ bevatten)
• Password (laat alleen bullets zien)
• Button (maakt button)
Name = php !
HTML module 22.2 Forms intro
<input-type: Email>
Fout ingevoerd
Goed ingevoerd
Input-type: submit
HTML module 22.2 Forms intro
<input-type: password>
Maakt bullets van ingevuld password!
HTML module 22.2 Forms intro
Attributes: Placeholder en Value
Value: is een waarde
die aan het inputveld
gekoppeld wordt. Bij
verwerken van het formulier
wordt dit meegenomen.
HTML module 22.2 Forms intro
Attributes: Placeholder en Value
placeholder: is een tekst
die bij verwerking niet
meegenomen wordt. Als je
het veld niet invult blijft
deze leeg bij verwerking.
HTML module 22.2 Forms intro
Lesopdracht
Maak (responsive) webpagina met een aanmeld formulier met
de volgende gegevens: voornaam, achternaam, email, leeftijd
en wachtwoord. De indeling voor groot scherm mag je zelf
bepalen. Voor mobile moeten de velden onder elkaar komen
te staan.
Je hebt hier max. 20 minuten voor.
HTML module 22.2 Forms intro
<input-type: reset>
Na klikken op reset 2e scherm
Inputs: bevestigen en reset
Reset maakt het formulier leeg.
HTML module 22.2 Forms intro
Select-tag / options
De select-tag geeft je de mogelijkheid
een invoerveld met keuze mogelijkheden te maken
HTML module 22.2 Forms intro
<input-type: radio>
De input-type radio geeft je de mogelijkheid
een keuze mogelijk te maken.
HTML module 22.2 Forms intro
<input-type: radio>
De input-type radio geeft je de mogelijkheid
een keuze mogelijk te maken.
HTML module 22.2 Forms intro
<input-type: checkbox>
Opdracht !
HTML module 22.1 Tables and Forms
Ga verder met de (responsive) webpagina met het aanmeld formulier
breidt het formulier uit met type abonnement, keuze geslacht,
akkoord algemene voorwaarden en bankrekening nummer.
Voor mobile moeten de velden onder elkaar komen
te staan.
Maak er een volledige pagina van en stijl het geheel met bijv.
een background en positioneren van het formulier.
Lever het geheel als zip-bestand in de dag voor het begin van
de volgende les in teams opdracht 2.2.

More Related Content

Featured

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
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
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
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...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

2.2 forms intro

  • 1. 2.2 Forms Intro HTML module 22.2 Forms intro
  • 3. HTML module 2 <table> Het <table> element wordt gebruikt voor het aanmaken van een tabel. <caption> Het <caption> element wordt gebruikt voor het plaatsen van een legenda boven de tabel. 2.2 Forms intro
  • 4. HTML module 2 <tr> De start van iedere rij in tabel gebeurt met de <tr> tag tr staat voor table row. 2.2 Forms intro
  • 5. HTML module 2 <th> Het <th> element gebruik je voor het maken van de heading van iedere kolom in de tabel 2.2 Forms intro
  • 6. HTML module 2 <td> Iedere cel van de tabel wordt gemaakt met de <td> tag. 2.2 Forms intro
  • 7. HTML module 2 colspan Soms is het nodig dat cellen van een tabel uit meerdere rijen kan bestaan. Dit kan met de colspan attribuut. De colspan attribuut wordt gebruikt met het <td> en <th> element. 2.2 Forms intro
  • 8. HTML module 2 colspan Beetje style toegevoegd. 2.2 Forms intro
  • 9. CSS :nth-child() Selector HTML module 2 Hiermee kan je de style bepalen vanaf de parent 2.2 Forms intro
  • 10. CSS :nth-child() Selector HTML module 2 Je kan ook even en oneven child’s selecteren 2.2 Forms intro
  • 11. CSS :nth-child() Selector HTML module 2 Je kan ook met een formule child’s selecteren Style iedere 3e child vanaf 0. 2.2 Forms intro
  • 12. HTML module 2 Tabel Responsive Tabellen maak je responsive door aanpassen style 1e stap Plaats huidige css code in de @media voor overige devices. 2.2 Forms intro
  • 13. Lesdoel! Hoe en wanneer gebruik je forms! HTML module 22.2 Forms intro
  • 14. FORMS HTML module 22.2 Forms intro Voorbeeld 1
  • 15. HTML module 22.2 Forms intro Voorbeeld 2
  • 16. HTML module 22.2 Forms intro Voorbeeld 3
  • 17. Forms zijn voor het delen, verzamelen en opvragen van gegevens. • Aanvraagformulier account • Reserveringen formulier • Inlogscherm • Bestelformulier • Zoeken • Etc FORMS HTML module 22.2 Forms intro
  • 18. HTML module 22.2 Forms intro Eenvoudig formulier voor aanvragen account Ingrediënten • <form> </form> • <input> • <table></table> • <tr></tr> • <td></td> • Name-attribuut • style
  • 19. HTML module 22.2 Forms intro <form> Het <form> element wordt gebruikt voor het aanmaken van een formulier. <table> Het <table> element wordt gebruikt voor het aanmaken van een tabel.
  • 20. HTML module 22.2 Forms intro <input> Het <input> element wordt gebruikt voor het aanmaken van een invoerveld.
  • 21. HTML module 22.2 Forms intro <input Types> Input type geeft je de mogelijkheid het type invoerveld te bepalen In het voorbeeld gebruiken we 4 verschillende inputtypes nl: • Text (plain tekst alle karakter) • Email (moet @ bevatten) • Password (laat alleen bullets zien) • Button (maakt button) Name = php !
  • 22. HTML module 22.2 Forms intro <input-type: Email> Fout ingevoerd Goed ingevoerd Input-type: submit
  • 23. HTML module 22.2 Forms intro <input-type: password> Maakt bullets van ingevuld password!
  • 24. HTML module 22.2 Forms intro Attributes: Placeholder en Value Value: is een waarde die aan het inputveld gekoppeld wordt. Bij verwerken van het formulier wordt dit meegenomen.
  • 25. HTML module 22.2 Forms intro Attributes: Placeholder en Value placeholder: is een tekst die bij verwerking niet meegenomen wordt. Als je het veld niet invult blijft deze leeg bij verwerking.
  • 26. HTML module 22.2 Forms intro Lesopdracht Maak (responsive) webpagina met een aanmeld formulier met de volgende gegevens: voornaam, achternaam, email, leeftijd en wachtwoord. De indeling voor groot scherm mag je zelf bepalen. Voor mobile moeten de velden onder elkaar komen te staan. Je hebt hier max. 20 minuten voor.
  • 27. HTML module 22.2 Forms intro <input-type: reset> Na klikken op reset 2e scherm Inputs: bevestigen en reset Reset maakt het formulier leeg.
  • 28. HTML module 22.2 Forms intro Select-tag / options De select-tag geeft je de mogelijkheid een invoerveld met keuze mogelijkheden te maken
  • 29. HTML module 22.2 Forms intro <input-type: radio> De input-type radio geeft je de mogelijkheid een keuze mogelijk te maken.
  • 30. HTML module 22.2 Forms intro <input-type: radio> De input-type radio geeft je de mogelijkheid een keuze mogelijk te maken.
  • 31. HTML module 22.2 Forms intro <input-type: checkbox>
  • 32. Opdracht ! HTML module 22.1 Tables and Forms Ga verder met de (responsive) webpagina met het aanmeld formulier breidt het formulier uit met type abonnement, keuze geslacht, akkoord algemene voorwaarden en bankrekening nummer. Voor mobile moeten de velden onder elkaar komen te staan. Maak er een volledige pagina van en stijl het geheel met bijv. een background en positioneren van het formulier. Lever het geheel als zip-bestand in de dag voor het begin van de volgende les in teams opdracht 2.2.