SlideShare a Scribd company logo
1 of 31
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

SPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPathSPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPath
Ryan Dennis
 
Basic Internet_Baabtra.com template
Basic Internet_Baabtra.com templateBasic Internet_Baabtra.com template
Basic Internet_Baabtra.com template
Jijo Joseph
 

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
 
Prospectus Editing Tool (PET)
Prospectus Editing Tool (PET)Prospectus Editing Tool (PET)
Prospectus Editing Tool (PET)
 
web development process WT
web development process WTweb development process WT
web development process WT
 
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
 
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
 
CSOM (Client Side Object Model). Explained @ SharePoint Saturday Houston
CSOM (Client Side Object Model). Explained @ SharePoint Saturday HoustonCSOM (Client Side Object Model). Explained @ SharePoint Saturday Houston
CSOM (Client Side Object Model). Explained @ SharePoint Saturday Houston
 

Recently uploaded

如何办理(UB毕业证书)纽约州立大学水牛城分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UB毕业证书)纽约州立大学水牛城分校毕业证成绩单本科硕士学位证留信学历认证如何办理(UB毕业证书)纽约州立大学水牛城分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UB毕业证书)纽约州立大学水牛城分校毕业证成绩单本科硕士学位证留信学历认证
ugzga
 
如何办理(Birmingham毕业证书)伯明翰大学学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(Birmingham毕业证书)伯明翰大学学院毕业证成绩单本科硕士学位证留信学历认证如何办理(Birmingham毕业证书)伯明翰大学学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(Birmingham毕业证书)伯明翰大学学院毕业证成绩单本科硕士学位证留信学历认证
ugzga
 
如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证
ugzga
 
如何办理(UMN毕业证书)明尼苏达大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UMN毕业证书)明尼苏达大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UMN毕业证书)明尼苏达大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UMN毕业证书)明尼苏达大学毕业证成绩单本科硕士学位证留信学历认证
ugzga
 
Resume all my skills and educations and achievement
Resume all my skills and educations and  achievement Resume all my skills and educations and  achievement
Resume all my skills and educations and achievement
210303105569
 
如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证
ugzga
 
Evaluating natural frequencies and mode shapes.pptx
Evaluating natural frequencies and mode shapes.pptxEvaluating natural frequencies and mode shapes.pptx
Evaluating natural frequencies and mode shapes.pptx
joshuaclack73
 
NO1 Best Best Black Magic Specialist Near Me Spiritual Healer Powerful Love S...
NO1 Best Best Black Magic Specialist Near Me Spiritual Healer Powerful Love S...NO1 Best Best Black Magic Specialist Near Me Spiritual Healer Powerful Love S...
NO1 Best Best Black Magic Specialist Near Me Spiritual Healer Powerful Love S...
Amil baba
 
如何办理(UoB毕业证书)伯明翰大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UoB毕业证书)伯明翰大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UoB毕业证书)伯明翰大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UoB毕业证书)伯明翰大学毕业证成绩单本科硕士学位证留信学历认证
ugzga
 
Abortion Clinic in Springs +27791653574 Springs WhatsApp Abortion Clinic Serv...
Abortion Clinic in Springs +27791653574 Springs WhatsApp Abortion Clinic Serv...Abortion Clinic in Springs +27791653574 Springs WhatsApp Abortion Clinic Serv...
Abortion Clinic in Springs +27791653574 Springs WhatsApp Abortion Clinic Serv...
mikehavy0
 
如何办理(UCI毕业证书)加利福尼亚大学尔湾分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCI毕业证书)加利福尼亚大学尔湾分校毕业证成绩单本科硕士学位证留信学历认证如何办理(UCI毕业证书)加利福尼亚大学尔湾分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCI毕业证书)加利福尼亚大学尔湾分校毕业证成绩单本科硕士学位证留信学历认证
ugzga
 
一模一样英国德比大学毕业证(derby毕业证书)本科学历-国外大学文凭办理
一模一样英国德比大学毕业证(derby毕业证书)本科学历-国外大学文凭办理一模一样英国德比大学毕业证(derby毕业证书)本科学历-国外大学文凭办理
一模一样英国德比大学毕业证(derby毕业证书)本科学历-国外大学文凭办理
thubko
 
如何办理(UW毕业证书)华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UW毕业证书)华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UW毕业证书)华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UW毕业证书)华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
ugzga
 
如何办理(UCL毕业证书)伦敦大学学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCL毕业证书)伦敦大学学院毕业证成绩单本科硕士学位证留信学历认证如何办理(UCL毕业证书)伦敦大学学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCL毕业证书)伦敦大学学院毕业证成绩单本科硕士学位证留信学历认证
ugzga
 

Recently uploaded (20)

Spring Summer 26 Colors Trend Book Peclers Paris
Spring Summer 26 Colors Trend Book Peclers ParisSpring Summer 26 Colors Trend Book Peclers Paris
Spring Summer 26 Colors Trend Book Peclers Paris
 
Levi's Advertisement and camapign design
Levi's Advertisement and camapign designLevi's Advertisement and camapign design
Levi's Advertisement and camapign design
 
如何办理(UB毕业证书)纽约州立大学水牛城分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UB毕业证书)纽约州立大学水牛城分校毕业证成绩单本科硕士学位证留信学历认证如何办理(UB毕业证书)纽约州立大学水牛城分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UB毕业证书)纽约州立大学水牛城分校毕业证成绩单本科硕士学位证留信学历认证
 
如何办理(Birmingham毕业证书)伯明翰大学学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(Birmingham毕业证书)伯明翰大学学院毕业证成绩单本科硕士学位证留信学历认证如何办理(Birmingham毕业证书)伯明翰大学学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(Birmingham毕业证书)伯明翰大学学院毕业证成绩单本科硕士学位证留信学历认证
 
如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证
 
Webhost NVME Cloud VPS Hosting1234455678
Webhost NVME Cloud VPS Hosting1234455678Webhost NVME Cloud VPS Hosting1234455678
Webhost NVME Cloud VPS Hosting1234455678
 
如何办理(UMN毕业证书)明尼苏达大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UMN毕业证书)明尼苏达大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UMN毕业证书)明尼苏达大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UMN毕业证书)明尼苏达大学毕业证成绩单本科硕士学位证留信学历认证
 
Latest Trends in Home and Building Design
Latest Trends in Home and Building DesignLatest Trends in Home and Building Design
Latest Trends in Home and Building Design
 
Resume all my skills and educations and achievement
Resume all my skills and educations and  achievement Resume all my skills and educations and  achievement
Resume all my skills and educations and achievement
 
Top 10 Website Designing Hacks for Beginners.pptx.pptx
Top 10 Website Designing Hacks for Beginners.pptx.pptxTop 10 Website Designing Hacks for Beginners.pptx.pptx
Top 10 Website Designing Hacks for Beginners.pptx.pptx
 
如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证
 
Evaluating natural frequencies and mode shapes.pptx
Evaluating natural frequencies and mode shapes.pptxEvaluating natural frequencies and mode shapes.pptx
Evaluating natural frequencies and mode shapes.pptx
 
NO1 Best Best Black Magic Specialist Near Me Spiritual Healer Powerful Love S...
NO1 Best Best Black Magic Specialist Near Me Spiritual Healer Powerful Love S...NO1 Best Best Black Magic Specialist Near Me Spiritual Healer Powerful Love S...
NO1 Best Best Black Magic Specialist Near Me Spiritual Healer Powerful Love S...
 
如何办理(UoB毕业证书)伯明翰大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UoB毕业证书)伯明翰大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UoB毕业证书)伯明翰大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UoB毕业证书)伯明翰大学毕业证成绩单本科硕士学位证留信学历认证
 
Abortion Clinic in Springs +27791653574 Springs WhatsApp Abortion Clinic Serv...
Abortion Clinic in Springs +27791653574 Springs WhatsApp Abortion Clinic Serv...Abortion Clinic in Springs +27791653574 Springs WhatsApp Abortion Clinic Serv...
Abortion Clinic in Springs +27791653574 Springs WhatsApp Abortion Clinic Serv...
 
如何办理(UCI毕业证书)加利福尼亚大学尔湾分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCI毕业证书)加利福尼亚大学尔湾分校毕业证成绩单本科硕士学位证留信学历认证如何办理(UCI毕业证书)加利福尼亚大学尔湾分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCI毕业证书)加利福尼亚大学尔湾分校毕业证成绩单本科硕士学位证留信学历认证
 
一模一样英国德比大学毕业证(derby毕业证书)本科学历-国外大学文凭办理
一模一样英国德比大学毕业证(derby毕业证书)本科学历-国外大学文凭办理一模一样英国德比大学毕业证(derby毕业证书)本科学历-国外大学文凭办理
一模一样英国德比大学毕业证(derby毕业证书)本科学历-国外大学文凭办理
 
如何办理(UW毕业证书)华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UW毕业证书)华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UW毕业证书)华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UW毕业证书)华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
 
如何办理(UCL毕业证书)伦敦大学学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCL毕业证书)伦敦大学学院毕业证成绩单本科硕士学位证留信学历认证如何办理(UCL毕业证书)伦敦大学学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCL毕业证书)伦敦大学学院毕业证成绩单本科硕士学位证留信学历认证
 
GBU INDOOR STADIUM CASE STUDY DESCRIBING ITS STRUCTURE
GBU INDOOR STADIUM CASE STUDY DESCRIBING ITS STRUCTUREGBU INDOOR STADIUM CASE STUDY DESCRIBING ITS STRUCTURE
GBU INDOOR STADIUM CASE STUDY DESCRIBING ITS STRUCTURE
 

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