SlideShare a Scribd company logo
Web Development
Technical Summer School 2019, IIT Bombay – Parth Patil
Part 1 – Introduction to the Web and HTML
Courtesy – Varun Patil
Parth Patil
2nd Year Undergraduate, Electrical Engineering
Django, Angular, Node.js, REST, ROS, GTK, Android Studio, ...
Python, C++, HTML, JS/TS, Java …
Web Development TSS 2019 - Parth Patil, IIT Bombay
Prerequisites
• Basic Hardware
• Desktop OS – Windows, GNU/Linux or macOS
• Python
• Web Browser - Mozilla Firefox or Google Chrome
• Code Editor – Notepad++, VS Code, Sublime etc.
• Basics of Programming – CS101
Web Development TSS 2019 - Parth Patil, IIT Bombay
What is the World Wide Web?
• What we see in a Web Browser!
• HTML – not really
• A set of documents connected to each other.
• A system of Internet servers that support specially formatted documents,
supporting links to other documents as well as graphics, audio and video
files.
• Are Web and Internet synonymous? – No!
Web Development TSS 2019 - Parth Patil, IIT Bombay
What is the Internet?
• A lot of connected devices – a network – which talk to each other
• A global computer network providing a variety of information and
communication facilities, consisting of interconnected networks using
standardized communication protocols
Web Development TSS 2019 - Parth Patil, IIT Bombay Courtesy – Google
The Seven Layers of OSI*
1. Physical Layer
2. Link Layer
3. Network Layer
4. Transport Layer
5. Session Layer
6. Presentation Layer
7. Application Layer
Web Development TSS 2019 - Parth Patil, IIT Bombay * Open Systems Interconnection model
The Network Layer
• Addressing (IPV4/IPV6)
• Routing
• Path Planning
Web Development TSS 2019 - Parth Patil, IIT Bombay
Internet Protocol
• What is a protocol – standardized communication
• Headers and body of packets
• Protocol used by the network layer
• Each device has a unique IP Address – like your postal address
• 32-bits – xxx.xxx.xxx.xxx (in IPv4)
• Best effort
Web Development TSS 2019 - Parth Patil, IIT Bombay
The Network Layer
• A  B – A and B can talk – we already have this
• A  B … C
• A  B … B  C
• A  B … B  C … A  C
• What if D comes up? - 4C2 = 6
• Eventually … 50C2 = 1225 … 300C2 = 44850
Web Development TSS 2019 - Parth Patil, IIT Bombay
Relaying Information
• A  B  C  D
• Or maybe A  B  C, D
• Routers – devices designed for this – B
• Switches – Layer 2
Web Development TSS 2019 - Parth Patil, IIT Bombay
The Seven Layers of OSI
1. Physical Layer
2. Link Layer
3. Network Layer ✔
4. Transport Layer
5. Session Layer
6. Presentation Layer
7. Application Layer
Web Development TSS 2019 - Parth Patil, IIT Bombay
The Transport Layer
• Flow Control
• Error Control
• Congestion control
• Order of receiving - multiple paths of communication
Web Development TSS 2019 - Parth Patil, IIT Bombay
Transmission Control Protocol
• Built into Operating Systems – with standards
• Performs error detection/correction
• Ensures correct ordering of data
• Allows multiple applications to communicate with Ports
Web Development TSS 2019 - Parth Patil, IIT Bombay
Port
• 16-bit number – 0 to 65535
• Outgoing and incoming ports
• Can receive multiple connections on one port
• 4-tuple – identifying a unique connection
• IP Address of A
• Port of A
• IP Address of B
• Port of B
Web Development TSS 2019 - Parth Patil, IIT Bombay
An Analogy
Web Development TSS 2019 - Parth Patil, IIT Bombay
A Map?!
Web Development TSS 2019 - Parth Patil, IIT Bombay
H7 H8
H12
H13
H14
H6 H9 H5
H4 H3 H2 H1
H15
H16
H11
H10
CSE
MB
Incoming - 1000
Incoming - 1500
Incoming - 1000
Outgoing - 50000
Outgoing - 50001
Outgoing - 50005
The Seven Layers of OSI
1. Physical Layer
2. Link Layer
3. Network Layer ✔
4. Transport Layer ✔
5. Session Layer
6. Presentation Layer
7. Application Layer
Web Development TSS 2019 - Parth Patil, IIT Bombay
The Application Layer
• Multiple protocols like HTTP, FTP etc.
• HTTP – Hypertext Transfer Protocol
• Can transfer any type of content
• Primarily for text – Hypertext i.e. with Hyperlinks
• Protocol takes care of only transferring data
• Understood by Web Browsers
• Not the same as HTML – HTML is usually transferred over HTTP
Web Development TSS 2019 - Parth Patil, IIT Bombay
HyperText Transfer Protocol
• Headers
• What is being transferred - URL
• Size of content
• Type of file – MIME* type
• Extra information related to server
• Extra information related to content
• Body
• Actual contents of the file – the message
Web Development TSS 2019 - Parth Patil, IIT Bombay
*Multipurpose Internet Mail Extensions
Uniform Resource Locator
• Reference to a web resource that specifies its location on a computer
network
• Usually used with HTTP
• Send as part of HTTP header when requesting a resource
Web Development TSS 2019 - Parth Patil, IIT Bombay
Uniform Resource Locator
• scheme://authority/path?query#fragment
authority = userinfo@host:port
• scheme – usually http, can be ftp etc.
• path – path of resource we want - known
• port is usually (and defaults to) 80
• query – for passing extra information
Web Development TSS 2019 - Parth Patil, IIT Bombay
Uniform Resource Locator
• http://www.iitb.ac.in/newacadhome/timetable.jsp
• http://  using Hypertext Transfer Protocol
• www.iitb.ac.in  authority
• port not specified  80
• “resolves” (see DNS) to an IP like 10.102.1.111
• newacadhome/timetable.jsp  path
• No query or fragment specified
• Server sends a response with the requested page
Web Development TSS 2019 - Parth Patil, IIT Bombay
Web Browser
• Takes in a URL and makes an HTTP request for you
• Receives the content and understands it
• Displays it to the user
• Allows the user to interact with the received content
• Makes more requests
Web Development TSS 2019 - Parth Patil, IIT Bombay
The Seven Layers of OSI
1. Physical Layer
2. Link Layer
3. Network Layer ✔
4. Transport Layer ✔
5. Session Layer
6. Presentation Layer
7. Application Layer ✔
Web Development TSS 2019 - Parth Patil, IIT Bombay
HyperText Markup Language
• A markup language is a system for annotating a document in a way that is
syntactically distinguishable from the text
• Hypertext Markup Language is the standard markup language for creating
web pages and web applications
• HTML elements are the building blocks of HTML pages
• Represented by tags
Web Development TSS 2019 - Parth Patil, IIT Bombay Courtesy – W3Schools
HTML Tags
• HTML tags label pieces of content such as "heading", "paragraph", "table", and so
on
• Browsers do not display the HTML tags, but use them to render the content of the
page
• For example
• <b> - Make the text bold
• <p> - Begin a new paragraph
• Closed as </tag> e.g. <b>This is bold</b>
• Just syntax
Web Development TSS 2019 - Parth Patil, IIT Bombay Courtesy – W3Schools
Basic HTML Skeleton
Web Development TSS 2019 - Parth Patil, IIT Bombay
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
<a> and <img>
•Things to note:
•href and src are attributes, the expressions in quotes are values
•One tag can have one or more attributes (or none)
•Attributes control content in the tag
•img has no end tag
•image.jpg indicates same path as the open page
Web Development TSS 2019 - Parth Patil, IIT Bombay
<a href="http://www.iitb.ac.in/newacadhome/timetable.jsp">
IITB Timetable
</a>
<img src="image.jpg" alt="My Image" width="104" height="142">
Tag nesting
Web Development TSS 2019 - Parth Patil, IIT Bombay
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
<ul> - Unordered List
<li> - List Item
<ol> - Ordered List
• Coffee
• Tea
• Milk
List of common tags (Non-exhaustive)
• <html> - HTML document
• <body> - Main body
• <h1> - Biggest heading, <h2>, <h3> are progressively smaller
• <b> - Bold text
• <a> - Hyperlink
• <img> - Image - no end tag
• <button> - Button!
• <div> - Division
• <p> - Paragraph
• <br> - Line Break - no end tag
• <pre> - Preformatted texT
Web Development TSS 2019 - Parth Patil, IIT Bombay
Thank You!

More Related Content

Similar to Part1.pptx

Untangling fall2017 week1
Untangling fall2017 week1Untangling fall2017 week1
Untangling fall2017 week1
Derek Jacoby
 
Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1
Henry S
 
SPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPathSPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPath
Ryan Dennis
 
Untangling spring week1
Untangling spring week1Untangling spring week1
Untangling spring week1
Derek Jacoby
 
WWW and HTTP
WWW and HTTPWWW and HTTP
WWW and HTTP
BG Java EE Course
 
Introduction to PowerShell for SharePoint Admins and Developers
Introduction to PowerShell for SharePoint Admins and DevelopersIntroduction to PowerShell for SharePoint Admins and Developers
Introduction to PowerShell for SharePoint Admins and Developers
Michael Blumenthal (Microsoft MVP)
 
Tutorial Módulo 1 de Introdução com Flask
Tutorial Módulo 1 de Introdução com FlaskTutorial Módulo 1 de Introdução com Flask
Tutorial Módulo 1 de Introdução com Flask
Vinícius Marques
 
Prospectus Editing Tool (PET)
Prospectus Editing Tool (PET)Prospectus Editing Tool (PET)
Prospectus Editing Tool (PET)
MrJ1971
 
Wt unit 1 ppts web development process
Wt unit 1 ppts web development processWt unit 1 ppts web development process
Wt unit 1 ppts web development process
PUNE VIDYARTHI GRIHA'S COLLEGE OF ENGINEERING, NASHIK
 
web development process WT
web development process WTweb development process WT
Html.pptx
Html.pptxHtml.pptx
Html.pptx
SuhaibKhan62
 
[WSO2 Integration Summit Nairobi 2019] Role of Integration in an API Driven W...
[WSO2 Integration Summit Nairobi 2019] Role of Integration in an API Driven W...[WSO2 Integration Summit Nairobi 2019] Role of Integration in an API Driven W...
[WSO2 Integration Summit Nairobi 2019] Role of Integration in an API Driven W...
WSO2
 
Prospectus editing at the University of Bristol- an overview:TERMINALFOUR t44...
Prospectus editing at the University of Bristol- an overview:TERMINALFOUR t44...Prospectus editing at the University of Bristol- an overview:TERMINALFOUR t44...
Prospectus editing at the University of Bristol- an overview:TERMINALFOUR t44...
Terminalfour
 
Baabtra.com template_Basics about Internet_jijojoseph
Baabtra.com template_Basics about Internet_jijojosephBaabtra.com template_Basics about Internet_jijojoseph
Baabtra.com template_Basics about Internet_jijojoseph
Jijo Joseph
 
Basic Internet_Baabtra.com template
Basic Internet_Baabtra.com templateBasic Internet_Baabtra.com template
Basic Internet_Baabtra.com template
Jijo Joseph
 
Quick & Easy SharePoint Forms with StratusForms
Quick & Easy SharePoint Forms with StratusFormsQuick & Easy SharePoint Forms with StratusForms
Quick & Easy SharePoint Forms with StratusForms
April Dunnam
 
Introduction To Web (Mukesh Patel)
Introduction To Web (Mukesh Patel)Introduction To Web (Mukesh Patel)
Introduction To Web (Mukesh Patel)
Tirthesh Ganatra
 
Basic computers for DIU laptop project students
Basic computers for DIU laptop project studentsBasic computers for DIU laptop project students
Basic computers for DIU laptop project students
Alauddin Azad
 
Week 1 - Interactive News Editing and Producing
Week 1 - Interactive News Editing and ProducingWeek 1 - Interactive News Editing and Producing
Week 1 - Interactive News Editing and Producing
kurtgessler
 
Konsep pembangunan tapak web & laman web
Konsep pembangunan tapak web & laman webKonsep pembangunan tapak web & laman web
Konsep pembangunan tapak web & laman web
Ahmad Faizar
 

Similar to Part1.pptx (20)

Untangling fall2017 week1
Untangling fall2017 week1Untangling fall2017 week1
Untangling fall2017 week1
 
Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1
 
SPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPathSPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPath
 
Untangling spring week1
Untangling spring week1Untangling spring week1
Untangling spring week1
 
WWW and HTTP
WWW and HTTPWWW and HTTP
WWW and HTTP
 
Introduction to PowerShell for SharePoint Admins and Developers
Introduction to PowerShell for SharePoint Admins and DevelopersIntroduction to PowerShell for SharePoint Admins and Developers
Introduction to PowerShell for SharePoint Admins and Developers
 
Tutorial Módulo 1 de Introdução com Flask
Tutorial Módulo 1 de Introdução com FlaskTutorial Módulo 1 de Introdução com Flask
Tutorial Módulo 1 de Introdução com Flask
 
Prospectus Editing Tool (PET)
Prospectus Editing Tool (PET)Prospectus Editing Tool (PET)
Prospectus Editing Tool (PET)
 
Wt unit 1 ppts web development process
Wt unit 1 ppts web development processWt unit 1 ppts web development process
Wt unit 1 ppts web development process
 
web development process WT
web development process WTweb development process WT
web development process WT
 
Html.pptx
Html.pptxHtml.pptx
Html.pptx
 
[WSO2 Integration Summit Nairobi 2019] Role of Integration in an API Driven W...
[WSO2 Integration Summit Nairobi 2019] Role of Integration in an API Driven W...[WSO2 Integration Summit Nairobi 2019] Role of Integration in an API Driven W...
[WSO2 Integration Summit Nairobi 2019] Role of Integration in an API Driven W...
 
Prospectus editing at the University of Bristol- an overview:TERMINALFOUR t44...
Prospectus editing at the University of Bristol- an overview:TERMINALFOUR t44...Prospectus editing at the University of Bristol- an overview:TERMINALFOUR t44...
Prospectus editing at the University of Bristol- an overview:TERMINALFOUR t44...
 
Baabtra.com template_Basics about Internet_jijojoseph
Baabtra.com template_Basics about Internet_jijojosephBaabtra.com template_Basics about Internet_jijojoseph
Baabtra.com template_Basics about Internet_jijojoseph
 
Basic Internet_Baabtra.com template
Basic Internet_Baabtra.com templateBasic Internet_Baabtra.com template
Basic Internet_Baabtra.com template
 
Quick & Easy SharePoint Forms with StratusForms
Quick & Easy SharePoint Forms with StratusFormsQuick & Easy SharePoint Forms with StratusForms
Quick & Easy SharePoint Forms with StratusForms
 
Introduction To Web (Mukesh Patel)
Introduction To Web (Mukesh Patel)Introduction To Web (Mukesh Patel)
Introduction To Web (Mukesh Patel)
 
Basic computers for DIU laptop project students
Basic computers for DIU laptop project studentsBasic computers for DIU laptop project students
Basic computers for DIU laptop project students
 
Week 1 - Interactive News Editing and Producing
Week 1 - Interactive News Editing and ProducingWeek 1 - Interactive News Editing and Producing
Week 1 - Interactive News Editing and Producing
 
Konsep pembangunan tapak web & laman web
Konsep pembangunan tapak web & laman webKonsep pembangunan tapak web & laman web
Konsep pembangunan tapak web & laman web
 

Recently uploaded

ARENA - Young adults in the workplace (Knight Moves).pdf
ARENA - Young adults in the workplace (Knight Moves).pdfARENA - Young adults in the workplace (Knight Moves).pdf
ARENA - Young adults in the workplace (Knight Moves).pdf
Knight Moves
 
Graphic Design Tools and Software .pptx
Graphic Design Tools and Software   .pptxGraphic Design Tools and Software   .pptx
Graphic Design Tools and Software .pptx
Virtual Real Design
 
Connect Conference 2022: Passive House - Economic and Environmental Solution...
Connect Conference 2022: Passive House -  Economic and Environmental Solution...Connect Conference 2022: Passive House -  Economic and Environmental Solution...
Connect Conference 2022: Passive House - Economic and Environmental Solution...
TE Studio
 
ZAPATILLAS 2 X 110 ABRIL.pdf compra economico
ZAPATILLAS 2 X 110 ABRIL.pdf compra economicoZAPATILLAS 2 X 110 ABRIL.pdf compra economico
ZAPATILLAS 2 X 110 ABRIL.pdf compra economico
jhonguerrerobarturen
 
Top Interior Designers in Bangalore.pdf1
Top Interior Designers in Bangalore.pdf1Top Interior Designers in Bangalore.pdf1
Top Interior Designers in Bangalore.pdf1
Decomart Studio
 
一比一原版(BU毕业证)波士顿大学毕业证如何办理
一比一原版(BU毕业证)波士顿大学毕业证如何办理一比一原版(BU毕业证)波士顿大学毕业证如何办理
一比一原版(BU毕业证)波士顿大学毕业证如何办理
peuce
 
哪里办理美国中央华盛顿大学毕业证双学位证书原版一模一样
哪里办理美国中央华盛顿大学毕业证双学位证书原版一模一样哪里办理美国中央华盛顿大学毕业证双学位证书原版一模一样
哪里办理美国中央华盛顿大学毕业证双学位证书原版一模一样
qo1as76n
 
Storytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design ProcessStorytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
 
Heuristics Evaluation - How to Guide.pdf
Heuristics Evaluation - How to Guide.pdfHeuristics Evaluation - How to Guide.pdf
Heuristics Evaluation - How to Guide.pdf
Jaime Brown
 
一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理
一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理
一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理
kecekev
 
UNIT IV-VISUAL STYLE AND MOBILE INTERFACES.pptx
UNIT IV-VISUAL STYLE AND MOBILE INTERFACES.pptxUNIT IV-VISUAL STYLE AND MOBILE INTERFACES.pptx
UNIT IV-VISUAL STYLE AND MOBILE INTERFACES.pptx
GOWSIKRAJA PALANISAMY
 
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdfSECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
eloprejohn333
 
Practical eLearning Makeovers for Everyone
Practical eLearning Makeovers for EveryonePractical eLearning Makeovers for Everyone
Practical eLearning Makeovers for Everyone
Bianca Woods
 
Impact of Fonts: in Web and Apps Design
Impact of Fonts:  in Web and Apps DesignImpact of Fonts:  in Web and Apps Design
Impact of Fonts: in Web and Apps Design
contactproperweb2014
 
Virtual Tour Application Powerpoint for museum of edinburgh
Virtual Tour Application Powerpoint for museum of edinburghVirtual Tour Application Powerpoint for museum of edinburgh
Virtual Tour Application Powerpoint for museum of edinburgh
millarj46
 
EASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANE
EASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANEEASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANE
EASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANE
Febless Hernane
 
一比一原版(LSBU毕业证书)伦敦南岸大学毕业证如何办理
一比一原版(LSBU毕业证书)伦敦南岸大学毕业证如何办理一比一原版(LSBU毕业证书)伦敦南岸大学毕业证如何办理
一比一原版(LSBU毕业证书)伦敦南岸大学毕业证如何办理
k7nm6tk
 
CocaCola_Brand_equity_package_2012__.pdf
CocaCola_Brand_equity_package_2012__.pdfCocaCola_Brand_equity_package_2012__.pdf
CocaCola_Brand_equity_package_2012__.pdf
PabloMartelLpez
 
UNIT V ACTIONS AND COMMANDS, FORMS AND CONTROLS.pptx
UNIT V ACTIONS AND COMMANDS, FORMS AND CONTROLS.pptxUNIT V ACTIONS AND COMMANDS, FORMS AND CONTROLS.pptx
UNIT V ACTIONS AND COMMANDS, FORMS AND CONTROLS.pptx
GOWSIKRAJA PALANISAMY
 
Revolutionizing the Digital Landscape: Web Development Companies in India
Revolutionizing the Digital Landscape: Web Development Companies in IndiaRevolutionizing the Digital Landscape: Web Development Companies in India
Revolutionizing the Digital Landscape: Web Development Companies in India
amrsoftec1
 

Recently uploaded (20)

ARENA - Young adults in the workplace (Knight Moves).pdf
ARENA - Young adults in the workplace (Knight Moves).pdfARENA - Young adults in the workplace (Knight Moves).pdf
ARENA - Young adults in the workplace (Knight Moves).pdf
 
Graphic Design Tools and Software .pptx
Graphic Design Tools and Software   .pptxGraphic Design Tools and Software   .pptx
Graphic Design Tools and Software .pptx
 
Connect Conference 2022: Passive House - Economic and Environmental Solution...
Connect Conference 2022: Passive House -  Economic and Environmental Solution...Connect Conference 2022: Passive House -  Economic and Environmental Solution...
Connect Conference 2022: Passive House - Economic and Environmental Solution...
 
ZAPATILLAS 2 X 110 ABRIL.pdf compra economico
ZAPATILLAS 2 X 110 ABRIL.pdf compra economicoZAPATILLAS 2 X 110 ABRIL.pdf compra economico
ZAPATILLAS 2 X 110 ABRIL.pdf compra economico
 
Top Interior Designers in Bangalore.pdf1
Top Interior Designers in Bangalore.pdf1Top Interior Designers in Bangalore.pdf1
Top Interior Designers in Bangalore.pdf1
 
一比一原版(BU毕业证)波士顿大学毕业证如何办理
一比一原版(BU毕业证)波士顿大学毕业证如何办理一比一原版(BU毕业证)波士顿大学毕业证如何办理
一比一原版(BU毕业证)波士顿大学毕业证如何办理
 
哪里办理美国中央华盛顿大学毕业证双学位证书原版一模一样
哪里办理美国中央华盛顿大学毕业证双学位证书原版一模一样哪里办理美国中央华盛顿大学毕业证双学位证书原版一模一样
哪里办理美国中央华盛顿大学毕业证双学位证书原版一模一样
 
Storytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design ProcessStorytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design Process
 
Heuristics Evaluation - How to Guide.pdf
Heuristics Evaluation - How to Guide.pdfHeuristics Evaluation - How to Guide.pdf
Heuristics Evaluation - How to Guide.pdf
 
一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理
一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理
一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理
 
UNIT IV-VISUAL STYLE AND MOBILE INTERFACES.pptx
UNIT IV-VISUAL STYLE AND MOBILE INTERFACES.pptxUNIT IV-VISUAL STYLE AND MOBILE INTERFACES.pptx
UNIT IV-VISUAL STYLE AND MOBILE INTERFACES.pptx
 
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdfSECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
 
Practical eLearning Makeovers for Everyone
Practical eLearning Makeovers for EveryonePractical eLearning Makeovers for Everyone
Practical eLearning Makeovers for Everyone
 
Impact of Fonts: in Web and Apps Design
Impact of Fonts:  in Web and Apps DesignImpact of Fonts:  in Web and Apps Design
Impact of Fonts: in Web and Apps Design
 
Virtual Tour Application Powerpoint for museum of edinburgh
Virtual Tour Application Powerpoint for museum of edinburghVirtual Tour Application Powerpoint for museum of edinburgh
Virtual Tour Application Powerpoint for museum of edinburgh
 
EASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANE
EASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANEEASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANE
EASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANE
 
一比一原版(LSBU毕业证书)伦敦南岸大学毕业证如何办理
一比一原版(LSBU毕业证书)伦敦南岸大学毕业证如何办理一比一原版(LSBU毕业证书)伦敦南岸大学毕业证如何办理
一比一原版(LSBU毕业证书)伦敦南岸大学毕业证如何办理
 
CocaCola_Brand_equity_package_2012__.pdf
CocaCola_Brand_equity_package_2012__.pdfCocaCola_Brand_equity_package_2012__.pdf
CocaCola_Brand_equity_package_2012__.pdf
 
UNIT V ACTIONS AND COMMANDS, FORMS AND CONTROLS.pptx
UNIT V ACTIONS AND COMMANDS, FORMS AND CONTROLS.pptxUNIT V ACTIONS AND COMMANDS, FORMS AND CONTROLS.pptx
UNIT V ACTIONS AND COMMANDS, FORMS AND CONTROLS.pptx
 
Revolutionizing the Digital Landscape: Web Development Companies in India
Revolutionizing the Digital Landscape: Web Development Companies in IndiaRevolutionizing the Digital Landscape: Web Development Companies in India
Revolutionizing the Digital Landscape: Web Development Companies in India
 

Part1.pptx

  • 1. Web Development Technical Summer School 2019, IIT Bombay – Parth Patil Part 1 – Introduction to the Web and HTML Courtesy – Varun Patil
  • 2. Parth Patil 2nd Year Undergraduate, Electrical Engineering Django, Angular, Node.js, REST, ROS, GTK, Android Studio, ... Python, C++, HTML, JS/TS, Java … Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 3. Prerequisites • Basic Hardware • Desktop OS – Windows, GNU/Linux or macOS • Python • Web Browser - Mozilla Firefox or Google Chrome • Code Editor – Notepad++, VS Code, Sublime etc. • Basics of Programming – CS101 Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 4. What is the World Wide Web? • What we see in a Web Browser! • HTML – not really • A set of documents connected to each other. • A system of Internet servers that support specially formatted documents, supporting links to other documents as well as graphics, audio and video files. • Are Web and Internet synonymous? – No! Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 5. What is the Internet? • A lot of connected devices – a network – which talk to each other • A global computer network providing a variety of information and communication facilities, consisting of interconnected networks using standardized communication protocols Web Development TSS 2019 - Parth Patil, IIT Bombay Courtesy – Google
  • 6. The Seven Layers of OSI* 1. Physical Layer 2. Link Layer 3. Network Layer 4. Transport Layer 5. Session Layer 6. Presentation Layer 7. Application Layer Web Development TSS 2019 - Parth Patil, IIT Bombay * Open Systems Interconnection model
  • 7. The Network Layer • Addressing (IPV4/IPV6) • Routing • Path Planning Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 8. Internet Protocol • What is a protocol – standardized communication • Headers and body of packets • Protocol used by the network layer • Each device has a unique IP Address – like your postal address • 32-bits – xxx.xxx.xxx.xxx (in IPv4) • Best effort Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 9. The Network Layer • A  B – A and B can talk – we already have this • A  B … C • A  B … B  C • A  B … B  C … A  C • What if D comes up? - 4C2 = 6 • Eventually … 50C2 = 1225 … 300C2 = 44850 Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 10. Relaying Information • A  B  C  D • Or maybe A  B  C, D • Routers – devices designed for this – B • Switches – Layer 2 Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 11. The Seven Layers of OSI 1. Physical Layer 2. Link Layer 3. Network Layer ✔ 4. Transport Layer 5. Session Layer 6. Presentation Layer 7. Application Layer Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 12. The Transport Layer • Flow Control • Error Control • Congestion control • Order of receiving - multiple paths of communication Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 13. Transmission Control Protocol • Built into Operating Systems – with standards • Performs error detection/correction • Ensures correct ordering of data • Allows multiple applications to communicate with Ports Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 14. Port • 16-bit number – 0 to 65535 • Outgoing and incoming ports • Can receive multiple connections on one port • 4-tuple – identifying a unique connection • IP Address of A • Port of A • IP Address of B • Port of B Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 15. An Analogy Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 16. A Map?! Web Development TSS 2019 - Parth Patil, IIT Bombay H7 H8 H12 H13 H14 H6 H9 H5 H4 H3 H2 H1 H15 H16 H11 H10 CSE MB Incoming - 1000 Incoming - 1500 Incoming - 1000 Outgoing - 50000 Outgoing - 50001 Outgoing - 50005
  • 17. The Seven Layers of OSI 1. Physical Layer 2. Link Layer 3. Network Layer ✔ 4. Transport Layer ✔ 5. Session Layer 6. Presentation Layer 7. Application Layer Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 18. The Application Layer • Multiple protocols like HTTP, FTP etc. • HTTP – Hypertext Transfer Protocol • Can transfer any type of content • Primarily for text – Hypertext i.e. with Hyperlinks • Protocol takes care of only transferring data • Understood by Web Browsers • Not the same as HTML – HTML is usually transferred over HTTP Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 19. HyperText Transfer Protocol • Headers • What is being transferred - URL • Size of content • Type of file – MIME* type • Extra information related to server • Extra information related to content • Body • Actual contents of the file – the message Web Development TSS 2019 - Parth Patil, IIT Bombay *Multipurpose Internet Mail Extensions
  • 20. Uniform Resource Locator • Reference to a web resource that specifies its location on a computer network • Usually used with HTTP • Send as part of HTTP header when requesting a resource Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 21. Uniform Resource Locator • scheme://authority/path?query#fragment authority = userinfo@host:port • scheme – usually http, can be ftp etc. • path – path of resource we want - known • port is usually (and defaults to) 80 • query – for passing extra information Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 22. Uniform Resource Locator • http://www.iitb.ac.in/newacadhome/timetable.jsp • http://  using Hypertext Transfer Protocol • www.iitb.ac.in  authority • port not specified  80 • “resolves” (see DNS) to an IP like 10.102.1.111 • newacadhome/timetable.jsp  path • No query or fragment specified • Server sends a response with the requested page Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 23. Web Browser • Takes in a URL and makes an HTTP request for you • Receives the content and understands it • Displays it to the user • Allows the user to interact with the received content • Makes more requests Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 24. The Seven Layers of OSI 1. Physical Layer 2. Link Layer 3. Network Layer ✔ 4. Transport Layer ✔ 5. Session Layer 6. Presentation Layer 7. Application Layer ✔ Web Development TSS 2019 - Parth Patil, IIT Bombay
  • 25. HyperText Markup Language • A markup language is a system for annotating a document in a way that is syntactically distinguishable from the text • Hypertext Markup Language is the standard markup language for creating web pages and web applications • HTML elements are the building blocks of HTML pages • Represented by tags Web Development TSS 2019 - Parth Patil, IIT Bombay Courtesy – W3Schools
  • 26. HTML Tags • HTML tags label pieces of content such as "heading", "paragraph", "table", and so on • Browsers do not display the HTML tags, but use them to render the content of the page • For example • <b> - Make the text bold • <p> - Begin a new paragraph • Closed as </tag> e.g. <b>This is bold</b> • Just syntax Web Development TSS 2019 - Parth Patil, IIT Bombay Courtesy – W3Schools
  • 27. Basic HTML Skeleton Web Development TSS 2019 - Parth Patil, IIT Bombay <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html>
  • 28. <a> and <img> •Things to note: •href and src are attributes, the expressions in quotes are values •One tag can have one or more attributes (or none) •Attributes control content in the tag •img has no end tag •image.jpg indicates same path as the open page Web Development TSS 2019 - Parth Patil, IIT Bombay <a href="http://www.iitb.ac.in/newacadhome/timetable.jsp"> IITB Timetable </a> <img src="image.jpg" alt="My Image" width="104" height="142">
  • 29. Tag nesting Web Development TSS 2019 - Parth Patil, IIT Bombay <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <ul> - Unordered List <li> - List Item <ol> - Ordered List • Coffee • Tea • Milk
  • 30. List of common tags (Non-exhaustive) • <html> - HTML document • <body> - Main body • <h1> - Biggest heading, <h2>, <h3> are progressively smaller • <b> - Bold text • <a> - Hyperlink • <img> - Image - no end tag • <button> - Button! • <div> - Division • <p> - Paragraph • <br> - Line Break - no end tag • <pre> - Preformatted texT Web Development TSS 2019 - Parth Patil, IIT Bombay

Editor's Notes

  1. If A and C are connected directly, it isn’t a big problem. But if not, need a unique identifier.
  2. Remember – information can now be transmitted from any computer to the other, not matter how they’re connected
  3. On campus Connected by single links Can communicate with letter/objects Fortunately we have carriers who carry these but only on their path Assume only one person in each hostel H7 – H10 Pass to H8 and onforth. Reply will trace back More people come Can still communicate with ports Can communicate simultaneous with multiple people Multiple paths - ordering
  4. Start and end tags, angle brackets