SlideShare una empresa de Scribd logo
1 de 20
Unit 1: Web Fundamentals
Lesson 5: HTML and Forms
August 20, 2013
Lesson 5: HTML and Forms
2
Introduction
to HTML
Learning to
Use HTML
HTML and
Email
History and
Future of the
Web
HTML and
Forms
Search
Engine
Optimization
Learning to
Use CSS
Introduction
to CSS
Reusing
Code
3 Ways to
Use CSS
Separation of
Concerns
Launching
Your Own
Website
Lesson 1 Lesson 2 Lesson 3 Lesson 4
Lesson 8 Lesson 7 Lesson 6 Lesson 5
Lesson 9 Lesson 10 Lesson 11 Lesson 12
Build understanding Develop skills
Recap from last time (I)
• The World Wide Web was created by allowing webpages to link to
one another
• Tags such as <img>, <video>, and <audio> have enabled users to
view content
• Embedding allows users to view content without leaving a webpage
3
A webpage A webpage embedded
within a webpage
Recap from last time (II)
• It’s not hard to embed content into your own HTML page
• Websites such as YouTube will often provide code for you to copy
and paste into your page
• In the future, websites will be able to invent their own tags!
4
<iframe width="560" height="315" src=”http://www.youtube.com/embed/-
bayV3wez50" frameborder="0" allowfullscreen></iframe>
YouTube-provided HTML code
We’ve seen how to get information from a server
• Every time we visit a new website, we are asking a server to send us
the HTML files for that page
5
HAHAHA
Router
ISP
Facebook
server
Amazon
server
Youtube
server
DNS
What about sending information to a server?
• We actually do this all the time
• Any time you log in to an account, or fill out a survey, or even do a
Google search, you are sending information to a server
6
We communicate with servers using forms
• Forms allow users to enter data that gets sent to a server for
processing
• Forms can contain:
• Checkboxes
• Radio buttons
• File attachments
7
Forms make many things possible (I)
• Forms are often used for security
• Whenever you sign in to an account, the username and password
you enter is checked
• This way the website knows it’s you!
8
Amazon sign-in Gmail sign-in
Forms make many things possible (II)
• Forms are also used on all social websites
• All the content you see from your friends was entered using a form
9
Facebook post Twitter post
Forms make many things possible (III)
• Forms allow us to search for content on the internet
• A search bar is just a simple form!
10
Google search Yahoo search
How is HTML used to create a form?
• We use HTML to tell the server what kind of data to expect
• In the below example, we expect users to input text into the Amazon
search bar
11
The input type is text The rest of the code lets us control other options
Here’s how it looks
Let’s see another example
12
This time, the input
type is a radio button
More options
Here’s how it looks
What happens once the form is submitted?
13
1. Let’s say you want to sign in to your Amazon account. After typing
your username and password, you click to submit the form.
Form submission (II)
14
2. Your login information is sent to Amazon’s server, so they can
check to make sure it’s you
Amazon
server
Form submission (II)
15
3. Then the server accesses the Amazon database, which is like a
filing cabinet where Amazon stores user information such as login
info, credit card numbers, and past purchases.
Amazon
server
Amazon
database
Form submission (II)
16
4. The database tries to find your username and password
combination to check if it’s correct
Amazon
server
Amazon
database
Form submission (II)
17
5. If the combination is correct, the server sends you the HTML files to
access your account. If not, you will be asked to log in again.
Amazon
server
Amazon
database
Summary (I)
18
• HTML is important not just for receiving information, but also for
sending data to a server
• Forms allow us to actively engage with the internet, both sending
and receiving information as we browse websites
Amazon
server
Amazon
database
Summary (II)
19
• There are many different types of forms – these allow for many
features such as account login and search bars
• User information is stored in databases, which are similar to filing
cabinets with a different file for each user
Google search Gmail sign-in
What to do on your own
1. Go to URL to complete the Codecademy course online
2. Do the practice set on the material learned
1. Take the follow-up quiz to test your understanding
20

Más contenido relacionado

La actualidad más candente

La actualidad más candente (19)

Lesson 110 24 aug13-1400-ay
Lesson 110 24 aug13-1400-ayLesson 110 24 aug13-1400-ay
Lesson 110 24 aug13-1400-ay
 
Lesson 109 23 aug13-1430-ay
Lesson 109 23 aug13-1430-ayLesson 109 23 aug13-1430-ay
Lesson 109 23 aug13-1430-ay
 
Gmail
GmailGmail
Gmail
 
Slides(1) june entre
Slides(1) june entreSlides(1) june entre
Slides(1) june entre
 
Html complete course | Lec -1 | what is html
Html complete course | Lec -1 | what is htmlHtml complete course | Lec -1 | what is html
Html complete course | Lec -1 | what is html
 
OpenID Intro @ Barcamp Brussels 3
OpenID Intro @ Barcamp Brussels 3OpenID Intro @ Barcamp Brussels 3
OpenID Intro @ Barcamp Brussels 3
 
Beginners WordPress JALC Lesson 2
Beginners WordPress JALC Lesson 2Beginners WordPress JALC Lesson 2
Beginners WordPress JALC Lesson 2
 
Email
EmailEmail
Email
 
Leran html
Leran htmlLeran html
Leran html
 
HTML standards
HTML standardsHTML standards
HTML standards
 
Web software
Web softwareWeb software
Web software
 
Plug and Play Tools for the Recruiting Empiricist
Plug and Play Tools for the Recruiting EmpiricistPlug and Play Tools for the Recruiting Empiricist
Plug and Play Tools for the Recruiting Empiricist
 
INLS461_day14a.ppt
INLS461_day14a.pptINLS461_day14a.ppt
INLS461_day14a.ppt
 
Chapter14
Chapter14Chapter14
Chapter14
 
Seo tutorial
Seo tutorialSeo tutorial
Seo tutorial
 
Personal Web Space Information
Personal Web Space InformationPersonal Web Space Information
Personal Web Space Information
 
Export OLM Files
Export OLM FilesExport OLM Files
Export OLM Files
 
1 introduction
1 introduction1 introduction
1 introduction
 
The Open Web
The Open WebThe Open Web
The Open Web
 

Similar a Lesson 105 23 aug13-1430-ay

Lesson 112 24 aug13-2300-ay
Lesson 112 24 aug13-2300-ayLesson 112 24 aug13-2300-ay
Lesson 112 24 aug13-2300-ayCodecademy Ren
 
Html advanced-reference-guide for creating web forms
Html advanced-reference-guide for creating web formsHtml advanced-reference-guide for creating web forms
Html advanced-reference-guide for creating web formssatish 486
 
SEM Optimization + Growth Hacking - Small Changes = Big Results
SEM Optimization + Growth Hacking - Small Changes = Big ResultsSEM Optimization + Growth Hacking - Small Changes = Big Results
SEM Optimization + Growth Hacking - Small Changes = Big ResultsCasper Emil Sciuto Rouchmann
 
Share point for self service v1.0
Share point for self service v1.0Share point for self service v1.0
Share point for self service v1.0shmulik-tal
 
Internet and Email 101 v1
Internet and Email 101 v1Internet and Email 101 v1
Internet and Email 101 v1Adam Ripsam
 
KB Seminars: Growing an online portal; 05/13
KB Seminars: Growing an online portal; 05/13KB Seminars: Growing an online portal; 05/13
KB Seminars: Growing an online portal; 05/13MDIF
 
Internet and intranet
Internet and intranetInternet and intranet
Internet and intranetAnil Pokhrel
 
Lesson 111 24 aug13-1430-ay
Lesson 111 24 aug13-1430-ayLesson 111 24 aug13-1430-ay
Lesson 111 24 aug13-1430-ayCodecademy Ren
 
Open Data Kit, Digital data collection tool, training manual.pptx
Open Data Kit, Digital data collection tool,  training manual.pptxOpen Data Kit, Digital data collection tool,  training manual.pptx
Open Data Kit, Digital data collection tool, training manual.pptxEbrahimSeid2
 
Getting Started with Web Services
Getting Started with Web ServicesGetting Started with Web Services
Getting Started with Web ServicesDataNext Solutions
 
Set Up a Free Gmail Account
Set Up a Free Gmail AccountSet Up a Free Gmail Account
Set Up a Free Gmail Accountoeproducer
 
Proper Connections Development for Proper Domino Developers
Proper Connections Development for Proper Domino DevelopersProper Connections Development for Proper Domino Developers
Proper Connections Development for Proper Domino DevelopersMark Myers
 
SPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPathSPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPathRyan Dennis
 
Benefits of e commerce 1st assignment
Benefits of e commerce 1st assignmentBenefits of e commerce 1st assignment
Benefits of e commerce 1st assignmentbradfenney94
 
It’s a blog. it’s a website.
It’s a blog. it’s a website.It’s a blog. it’s a website.
It’s a blog. it’s a website.Css Founder
 

Similar a Lesson 105 23 aug13-1430-ay (20)

Lesson 112 24 aug13-2300-ay
Lesson 112 24 aug13-2300-ayLesson 112 24 aug13-2300-ay
Lesson 112 24 aug13-2300-ay
 
Html advanced-reference-guide for creating web forms
Html advanced-reference-guide for creating web formsHtml advanced-reference-guide for creating web forms
Html advanced-reference-guide for creating web forms
 
SEM Optimization + Growth Hacking - Small Changes = Big Results
SEM Optimization + Growth Hacking - Small Changes = Big ResultsSEM Optimization + Growth Hacking - Small Changes = Big Results
SEM Optimization + Growth Hacking - Small Changes = Big Results
 
Share point for self service v1.0
Share point for self service v1.0Share point for self service v1.0
Share point for self service v1.0
 
Internet
InternetInternet
Internet
 
Internet and Email 101 v1
Internet and Email 101 v1Internet and Email 101 v1
Internet and Email 101 v1
 
KB Seminars: Growing an online portal; 05/13
KB Seminars: Growing an online portal; 05/13KB Seminars: Growing an online portal; 05/13
KB Seminars: Growing an online portal; 05/13
 
Internet and intranet
Internet and intranetInternet and intranet
Internet and intranet
 
Lesson 111 24 aug13-1430-ay
Lesson 111 24 aug13-1430-ayLesson 111 24 aug13-1430-ay
Lesson 111 24 aug13-1430-ay
 
Open Data Kit, Digital data collection tool, training manual.pptx
Open Data Kit, Digital data collection tool,  training manual.pptxOpen Data Kit, Digital data collection tool,  training manual.pptx
Open Data Kit, Digital data collection tool, training manual.pptx
 
Getting Started with Web Services
Getting Started with Web ServicesGetting Started with Web Services
Getting Started with Web Services
 
Web page designing
Web page designingWeb page designing
Web page designing
 
Set Up a Free Gmail Account
Set Up a Free Gmail AccountSet Up a Free Gmail Account
Set Up a Free Gmail Account
 
Proper Connections Development for Proper Domino Developers
Proper Connections Development for Proper Domino DevelopersProper Connections Development for Proper Domino Developers
Proper Connections Development for Proper Domino Developers
 
Basics of web
Basics of webBasics of web
Basics of web
 
SPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPathSPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPath
 
Website
WebsiteWebsite
Website
 
Benefits of e commerce 1st assignment
Benefits of e commerce 1st assignmentBenefits of e commerce 1st assignment
Benefits of e commerce 1st assignment
 
It’s a blog. it’s a website.
It’s a blog. it’s a website.It’s a blog. it’s a website.
It’s a blog. it’s a website.
 
Web Technology Part 1
Web Technology Part 1Web Technology Part 1
Web Technology Part 1
 

Más de Codecademy Ren

Lesson 304 05 jan14-1500-ay
Lesson 304 05 jan14-1500-ayLesson 304 05 jan14-1500-ay
Lesson 304 05 jan14-1500-ayCodecademy Ren
 
Lesson 303 05 jan14-1500-ay
Lesson 303 05 jan14-1500-ayLesson 303 05 jan14-1500-ay
Lesson 303 05 jan14-1500-ayCodecademy Ren
 
Lesson 301 26 nov13-1500-ay
Lesson 301 26 nov13-1500-ayLesson 301 26 nov13-1500-ay
Lesson 301 26 nov13-1500-ayCodecademy Ren
 
Lesson 302 05 jan14-1500-ay
Lesson 302 05 jan14-1500-ayLesson 302 05 jan14-1500-ay
Lesson 302 05 jan14-1500-ayCodecademy Ren
 
Lesson 207 19 oct13-1500-ay
Lesson 207 19 oct13-1500-ayLesson 207 19 oct13-1500-ay
Lesson 207 19 oct13-1500-ayCodecademy Ren
 
Lesson 206 11 oct13-1500-ay
Lesson 206 11 oct13-1500-ayLesson 206 11 oct13-1500-ay
Lesson 206 11 oct13-1500-ayCodecademy Ren
 
Lesson 205 07 oct13-1500-ay
Lesson 205 07 oct13-1500-ayLesson 205 07 oct13-1500-ay
Lesson 205 07 oct13-1500-ayCodecademy Ren
 
Lesson 204 03 oct13-1500-ay
Lesson 204 03 oct13-1500-ayLesson 204 03 oct13-1500-ay
Lesson 204 03 oct13-1500-ayCodecademy Ren
 
Lesson 203 18 sep13-1500-ay
Lesson 203 18 sep13-1500-ayLesson 203 18 sep13-1500-ay
Lesson 203 18 sep13-1500-ayCodecademy Ren
 
Lesson 202 02 oct13-1800-ay
Lesson 202 02 oct13-1800-ayLesson 202 02 oct13-1800-ay
Lesson 202 02 oct13-1800-ayCodecademy Ren
 
Lesson 108 23 aug13-1430-ay
Lesson 108 23 aug13-1430-ayLesson 108 23 aug13-1430-ay
Lesson 108 23 aug13-1430-ayCodecademy Ren
 

Más de Codecademy Ren (11)

Lesson 304 05 jan14-1500-ay
Lesson 304 05 jan14-1500-ayLesson 304 05 jan14-1500-ay
Lesson 304 05 jan14-1500-ay
 
Lesson 303 05 jan14-1500-ay
Lesson 303 05 jan14-1500-ayLesson 303 05 jan14-1500-ay
Lesson 303 05 jan14-1500-ay
 
Lesson 301 26 nov13-1500-ay
Lesson 301 26 nov13-1500-ayLesson 301 26 nov13-1500-ay
Lesson 301 26 nov13-1500-ay
 
Lesson 302 05 jan14-1500-ay
Lesson 302 05 jan14-1500-ayLesson 302 05 jan14-1500-ay
Lesson 302 05 jan14-1500-ay
 
Lesson 207 19 oct13-1500-ay
Lesson 207 19 oct13-1500-ayLesson 207 19 oct13-1500-ay
Lesson 207 19 oct13-1500-ay
 
Lesson 206 11 oct13-1500-ay
Lesson 206 11 oct13-1500-ayLesson 206 11 oct13-1500-ay
Lesson 206 11 oct13-1500-ay
 
Lesson 205 07 oct13-1500-ay
Lesson 205 07 oct13-1500-ayLesson 205 07 oct13-1500-ay
Lesson 205 07 oct13-1500-ay
 
Lesson 204 03 oct13-1500-ay
Lesson 204 03 oct13-1500-ayLesson 204 03 oct13-1500-ay
Lesson 204 03 oct13-1500-ay
 
Lesson 203 18 sep13-1500-ay
Lesson 203 18 sep13-1500-ayLesson 203 18 sep13-1500-ay
Lesson 203 18 sep13-1500-ay
 
Lesson 202 02 oct13-1800-ay
Lesson 202 02 oct13-1800-ayLesson 202 02 oct13-1800-ay
Lesson 202 02 oct13-1800-ay
 
Lesson 108 23 aug13-1430-ay
Lesson 108 23 aug13-1430-ayLesson 108 23 aug13-1430-ay
Lesson 108 23 aug13-1430-ay
 

Último

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 

Último (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 

Lesson 105 23 aug13-1430-ay

  • 1. Unit 1: Web Fundamentals Lesson 5: HTML and Forms August 20, 2013
  • 2. Lesson 5: HTML and Forms 2 Introduction to HTML Learning to Use HTML HTML and Email History and Future of the Web HTML and Forms Search Engine Optimization Learning to Use CSS Introduction to CSS Reusing Code 3 Ways to Use CSS Separation of Concerns Launching Your Own Website Lesson 1 Lesson 2 Lesson 3 Lesson 4 Lesson 8 Lesson 7 Lesson 6 Lesson 5 Lesson 9 Lesson 10 Lesson 11 Lesson 12 Build understanding Develop skills
  • 3. Recap from last time (I) • The World Wide Web was created by allowing webpages to link to one another • Tags such as <img>, <video>, and <audio> have enabled users to view content • Embedding allows users to view content without leaving a webpage 3 A webpage A webpage embedded within a webpage
  • 4. Recap from last time (II) • It’s not hard to embed content into your own HTML page • Websites such as YouTube will often provide code for you to copy and paste into your page • In the future, websites will be able to invent their own tags! 4 <iframe width="560" height="315" src=”http://www.youtube.com/embed/- bayV3wez50" frameborder="0" allowfullscreen></iframe> YouTube-provided HTML code
  • 5. We’ve seen how to get information from a server • Every time we visit a new website, we are asking a server to send us the HTML files for that page 5 HAHAHA Router ISP Facebook server Amazon server Youtube server DNS
  • 6. What about sending information to a server? • We actually do this all the time • Any time you log in to an account, or fill out a survey, or even do a Google search, you are sending information to a server 6
  • 7. We communicate with servers using forms • Forms allow users to enter data that gets sent to a server for processing • Forms can contain: • Checkboxes • Radio buttons • File attachments 7
  • 8. Forms make many things possible (I) • Forms are often used for security • Whenever you sign in to an account, the username and password you enter is checked • This way the website knows it’s you! 8 Amazon sign-in Gmail sign-in
  • 9. Forms make many things possible (II) • Forms are also used on all social websites • All the content you see from your friends was entered using a form 9 Facebook post Twitter post
  • 10. Forms make many things possible (III) • Forms allow us to search for content on the internet • A search bar is just a simple form! 10 Google search Yahoo search
  • 11. How is HTML used to create a form? • We use HTML to tell the server what kind of data to expect • In the below example, we expect users to input text into the Amazon search bar 11 The input type is text The rest of the code lets us control other options Here’s how it looks
  • 12. Let’s see another example 12 This time, the input type is a radio button More options Here’s how it looks
  • 13. What happens once the form is submitted? 13 1. Let’s say you want to sign in to your Amazon account. After typing your username and password, you click to submit the form.
  • 14. Form submission (II) 14 2. Your login information is sent to Amazon’s server, so they can check to make sure it’s you Amazon server
  • 15. Form submission (II) 15 3. Then the server accesses the Amazon database, which is like a filing cabinet where Amazon stores user information such as login info, credit card numbers, and past purchases. Amazon server Amazon database
  • 16. Form submission (II) 16 4. The database tries to find your username and password combination to check if it’s correct Amazon server Amazon database
  • 17. Form submission (II) 17 5. If the combination is correct, the server sends you the HTML files to access your account. If not, you will be asked to log in again. Amazon server Amazon database
  • 18. Summary (I) 18 • HTML is important not just for receiving information, but also for sending data to a server • Forms allow us to actively engage with the internet, both sending and receiving information as we browse websites Amazon server Amazon database
  • 19. Summary (II) 19 • There are many different types of forms – these allow for many features such as account login and search bars • User information is stored in databases, which are similar to filing cabinets with a different file for each user Google search Gmail sign-in
  • 20. What to do on your own 1. Go to URL to complete the Codecademy course online 2. Do the practice set on the material learned 1. Take the follow-up quiz to test your understanding 20