SlideShare a Scribd company logo
1 of 22
Download to read offline
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
WWW AND HTML
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
Hypertext
• Hypertext is text which is not constrained to be linear
• Hypertext is text which contains links to other texts
• Link: a relationship between two anchors, stored in the same or
different text
• Anchor: an area within the content of a node which is the source or• Anchor: an area within the content of a node which is the source or
destination of a link - the anchor may be the whole of the node
content
• Node: a unit of information
• The term was coined by Ted Nelson around 1965
• HyperMedia is a term used for hypertext which is not constrained
to be text: it can include graphics, video and sound, for example.
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
Architectural Overview
• The parts of the Web model
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
When you click on a http://www.yahoo.com
• The browser determines the URL
• The browser ask DNS for the IP address of www.yahoo.com
• DNS replies with 67.195.160.76
• The browser makes a TCP connection to port 80 on 67.195.160.76
• It sends over a request asking for path “/” and default filename• It sends over a request asking for path “/” and default filename
• The www.yahoo.com server sends the file /index.html
• The TCP connection is released
• The browser displays all the text in index.html (formatting the text
according to the instructions contained in the page)
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
Thin vs Thick Clients
• Web browser: software that
allows the user to view certain
types of Internet files in an
interactive environment
– Internet Ecplorer
– Firefox– Firefox
– Opera
– Safari
• Web Apps are (typically) “Thin”
• Server does processing
• Client does presentation
– +Simple! (Browser)
– - Limited GUI (HTML)
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
Thin vs Thick Clients
• Software is “Thick”
– Eg; a word processor
• Thick clients do processing and presentation.
• + GUI not limited by HTML
• + Snappy (fewer Latency Problems)• + Snappy (fewer Latency Problems)
• - People need to download & install client
• Example (thick) client: Java Applets
– Java applications running on the Java virtual machine included the
browser
– You must “download” the java plugin to run Java applets.
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
The Client Side
• (a) A browser plug-in
• (b) A helper application
• The browser decides what to do based on the Internet media type
of the response: e.g., image/gif
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
Plug-in
• Acrobat PDF reader (plugin) has been invoked by the browser (the
content-type of the response is application)
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
Helper
• Now the helper will been invoked
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
Servers
• Hardware server
– Computer on Internet, always running
• Software server
– Program running on server– Program running on server
• Listening on port
– Receives requests, processes them, makes outgoing calls
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
What the server will do
• Basic model
1.   Accept a TCP connection from the client browser
2.   Get the name of the file requested
3.   Get the file from the disk
4.   Return the file to the client4.   Return the file to the client
5.   Release the TCP connection
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
The Server Side
• A multithreaded Web server with a front end and processing
modules
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
URLs – Uniform Resource Locators
• Some common URLs
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
Uniform Resource Locators URL
• Uniform Resource Locator (URL) is used to address a document (or other
data) on the World Wide Web
• A full Web address like this:
http://www.yahoo.com follows these syntax rules:
scheme://host.domain:port/path/filename
• The scheme is defining the type of Internet service
• The domain is defining the Internet domain name like yahoo.com
• The host is defining the domain host. If omitted, the default host for http
is www
• The path is defining a path (a sub directory) at the server
• The filename is defining the name of a document. The default filename
might be default.asp, or index.html or something else depending on the
settings of the Web server.
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
HTML – HyperText Markup Language
<html>
<head> <title> My New Web Page </title> </head>
<body>
<h1> Welcome to My Web Page! </h1>
<p> This page illustrates how you can write
proper … </p>
<p> There is a small graphic after the period at
the end of this sentence. <img
src="images/mouse.gif" alt="Mousie"
width="32“ height="32" border="0"> The
graphic is in a file. The file is inside a
folder named "images." </p>
<p> Link: <a href="http://www.yahoo.com/">Yahoo!
</a>
<br> Another link: <a
href="tableexample.htm">Another Web page</a>
<br> Note the way the BR tag works in the two
lines above. </p>
<p>&gt; <a href="index.htm">HTML examples
index</a>
</p>
</body>
</html>
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
HTML Characteristics
• Just a Text File!
• + Portable
• + Human Readable/Writable
• Defines the Structure (not Appearance) of the• Defines the Structure (not Appearance) of the
document
– Client (Browser) defines the appearance (based on the
instructions in the html file and some other linked files)
• + Portable
• + Pours into Browser (PDAs, Bigger/Smaller)
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
Document Structure
<html>
<head><title >My First Web Page< /title>
</head >
<body bgcolor="white"><body bgcolor="white">
<!-- This is a comment -->
<p>A Paragraph of Text.</p>
</body >
</html >
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
HTML Tags
• HTML tags are used to mark-up HTML elements
• HTML tags are surrounded by the two characters < and >
(angle brackets)
• HTML tags normally come in pairs like <b> and </b>
• The first tag in a pair is the start tag, the second tag is the end• The first tag in a pair is the start tag, the second tag is the end
tag
• The text between the start and end tags is the element
content
• HTML tags are not case sensitive, <b> means the same as <B>
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
Tag attributes
• Each element may have any number of attributes
Ex: <body bgcolor="white">…</body>
• Attributes provide additional information to an HTML element
• Attributes always come in name/value pairs like this:
name="value"name="value"
• Attributes are always specified in the start tag of an HTML
element
• Attributes and attribute values are also case-insensitive
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
Content vs Presentation
• HTML tags were originally designed to define the content of a
document
• They were supposed to say "This is a header", "This is a
paragraph", by using tags like <h1>, <p> , ...
• The layout was supposed to be taken care of by the browser• The layout was supposed to be taken care of by the browser
• Netscape and Internet Explorer continued to add new HTML
tags and attributes (like the <font> tag and the color attribute)
to the original HTML specification
– Difficult to create Web sites where the content of HTML documents
was clearly separated from the document's presentation layout
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
Cascading Style Sheeets
• CSS stands for Cascading Style Sheets
• Styles define how to display HTML elements
Example (inside an element): <p style="color: sienna;
margin-left: 20px"> This is a paragraph </p>
• Styles are normally stored in external CSS Style Sheets• Styles are normally stored in external CSS Style Sheets
• Styles were added to HTML to solve the problem of mixed content
and presentation instructions in one file
• External Style Sheets can save you a lot of work:
You can define a style for each HTML element and apply it to as
many Web page
• Multiple style definitions will cascade into one
Subject Name Code Credit Hours
INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3
End

More Related Content

What's hot

Comp 107cep iii,iv,v
Comp 107cep iii,iv,vComp 107cep iii,iv,v
Comp 107cep iii,iv,vBala Ganesh
 
Bba i-introduction to computer-u-2- application and system software
Bba  i-introduction to computer-u-2- application and system softwareBba  i-introduction to computer-u-2- application and system software
Bba i-introduction to computer-u-2- application and system softwareRai University
 
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...yaminohime
 
EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1Dilawar Khan
 
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...yaminohime
 
M.tech admission in india
M.tech admission in indiaM.tech admission in india
M.tech admission in indiaEdhole.com
 
C++ Training - Lecture 01
C++ Training - Lecture 01C++ Training - Lecture 01
C++ Training - Lecture 01Babak Farhang
 
Operating system of computer
Operating system of computerOperating system of computer
Operating system of computerHamzaAbbas43
 
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 6 - Applica...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 6 - Applica...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 6 - Applica...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 6 - Applica...yaminohime
 
Software languages and devices
Software languages and devicesSoftware languages and devices
Software languages and devicesYogeshSorot
 
INTRODUCTION TO COMPUTER SOFTWARE
INTRODUCTION TO COMPUTER SOFTWAREINTRODUCTION TO COMPUTER SOFTWARE
INTRODUCTION TO COMPUTER SOFTWAREabiramiabi21
 
One Computers Overview
One   Computers OverviewOne   Computers Overview
One Computers OverviewMISY
 

What's hot (18)

Comp 107 cep ii
Comp 107 cep iiComp 107 cep ii
Comp 107 cep ii
 
Comp 107cep iii,iv,v
Comp 107cep iii,iv,vComp 107cep iii,iv,v
Comp 107cep iii,iv,v
 
Bba i-introduction to computer-u-2- application and system software
Bba  i-introduction to computer-u-2- application and system softwareBba  i-introduction to computer-u-2- application and system software
Bba i-introduction to computer-u-2- application and system software
 
IS100 Week 2
IS100 Week 2IS100 Week 2
IS100 Week 2
 
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...
 
EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1
 
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
 
M.tech admission in india
M.tech admission in indiaM.tech admission in india
M.tech admission in india
 
C++ Training - Lecture 01
C++ Training - Lecture 01C++ Training - Lecture 01
C++ Training - Lecture 01
 
Operating system of computer
Operating system of computerOperating system of computer
Operating system of computer
 
1 introduction-to-computer
1 introduction-to-computer1 introduction-to-computer
1 introduction-to-computer
 
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 6 - Applica...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 6 - Applica...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 6 - Applica...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 6 - Applica...
 
computer Architecture
computer Architecturecomputer Architecture
computer Architecture
 
Software languages and devices
Software languages and devicesSoftware languages and devices
Software languages and devices
 
9781111306366 ppt ch10
9781111306366 ppt ch109781111306366 ppt ch10
9781111306366 ppt ch10
 
what is Operating system
what is Operating systemwhat is Operating system
what is Operating system
 
INTRODUCTION TO COMPUTER SOFTWARE
INTRODUCTION TO COMPUTER SOFTWAREINTRODUCTION TO COMPUTER SOFTWARE
INTRODUCTION TO COMPUTER SOFTWARE
 
One Computers Overview
One   Computers OverviewOne   Computers Overview
One Computers Overview
 

Viewers also liked

Lecture 13 trajectory planning ii ( 4 3-4 & trapezoidal velocity strategy fo...
Lecture 13  trajectory planning ii ( 4 3-4 & trapezoidal velocity strategy fo...Lecture 13  trajectory planning ii ( 4 3-4 & trapezoidal velocity strategy fo...
Lecture 13 trajectory planning ii ( 4 3-4 & trapezoidal velocity strategy fo...Joe Lau
 
Monitoring of concrete structures by electro mechanical impedance technique
Monitoring of concrete structures by electro mechanical impedance technique Monitoring of concrete structures by electro mechanical impedance technique
Monitoring of concrete structures by electro mechanical impedance technique IEI GSC
 
วิชาวิสาหกิจชุมชน ม.ปลาย
วิชาวิสาหกิจชุมชน ม.ปลายวิชาวิสาหกิจชุมชน ม.ปลาย
วิชาวิสาหกิจชุมชน ม.ปลายpeter dontoom
 
Imo38013802 istatistik-1
Imo38013802 istatistik-1Imo38013802 istatistik-1
Imo38013802 istatistik-1serkanarikan
 
Pbo perbandingan antara pemrograman procedural dengan pemrograman beroriant...
Pbo   perbandingan antara pemrograman procedural dengan pemrograman beroriant...Pbo   perbandingan antara pemrograman procedural dengan pemrograman beroriant...
Pbo perbandingan antara pemrograman procedural dengan pemrograman beroriant...Wahyu Zakwan
 
Doviz piyasasi analizleri
Doviz piyasasi analizleriDoviz piyasasi analizleri
Doviz piyasasi analizleriA Bugdayci
 
เศรษฐกิจพอเพียง ม.ต้น
เศรษฐกิจพอเพียง  ม.ต้นเศรษฐกิจพอเพียง  ม.ต้น
เศรษฐกิจพอเพียง ม.ต้นpeter dontoom
 
Making friendly-microservices
Making friendly-microservicesMaking friendly-microservices
Making friendly-microservicesMichele Titolo
 
learning-spoken-english
learning-spoken-englishlearning-spoken-english
learning-spoken-englishPepe Pita
 

Viewers also liked (14)

SOLAR SYSYEM
SOLAR SYSYEMSOLAR SYSYEM
SOLAR SYSYEM
 
senior-thesis
senior-thesissenior-thesis
senior-thesis
 
Lecture 13 trajectory planning ii ( 4 3-4 & trapezoidal velocity strategy fo...
Lecture 13  trajectory planning ii ( 4 3-4 & trapezoidal velocity strategy fo...Lecture 13  trajectory planning ii ( 4 3-4 & trapezoidal velocity strategy fo...
Lecture 13 trajectory planning ii ( 4 3-4 & trapezoidal velocity strategy fo...
 
Monitoring of concrete structures by electro mechanical impedance technique
Monitoring of concrete structures by electro mechanical impedance technique Monitoring of concrete structures by electro mechanical impedance technique
Monitoring of concrete structures by electro mechanical impedance technique
 
Comp107 unit 1,2,3
Comp107 unit 1,2,3Comp107 unit 1,2,3
Comp107 unit 1,2,3
 
วิชาวิสาหกิจชุมชน ม.ปลาย
วิชาวิสาหกิจชุมชน ม.ปลายวิชาวิสาหกิจชุมชน ม.ปลาย
วิชาวิสาหกิจชุมชน ม.ปลาย
 
Imo38013802 istatistik-1
Imo38013802 istatistik-1Imo38013802 istatistik-1
Imo38013802 istatistik-1
 
Pbo perbandingan antara pemrograman procedural dengan pemrograman beroriant...
Pbo   perbandingan antara pemrograman procedural dengan pemrograman beroriant...Pbo   perbandingan antara pemrograman procedural dengan pemrograman beroriant...
Pbo perbandingan antara pemrograman procedural dengan pemrograman beroriant...
 
Computer system
Computer systemComputer system
Computer system
 
Doviz piyasasi analizleri
Doviz piyasasi analizleriDoviz piyasasi analizleri
Doviz piyasasi analizleri
 
LectureNoteCAPM
LectureNoteCAPMLectureNoteCAPM
LectureNoteCAPM
 
เศรษฐกิจพอเพียง ม.ต้น
เศรษฐกิจพอเพียง  ม.ต้นเศรษฐกิจพอเพียง  ม.ต้น
เศรษฐกิจพอเพียง ม.ต้น
 
Making friendly-microservices
Making friendly-microservicesMaking friendly-microservices
Making friendly-microservices
 
learning-spoken-english
learning-spoken-englishlearning-spoken-english
learning-spoken-english
 

Similar to HTML Fundamentals and Web Page Structure

Similar to HTML Fundamentals and Web Page Structure (20)

Unit 5 application layer
Unit 5 application layerUnit 5 application layer
Unit 5 application layer
 
Web+html
Web+htmlWeb+html
Web+html
 
world wide web
world wide webworld wide web
world wide web
 
COM 311 LECTURE - 3.pptx
COM 311 LECTURE - 3.pptxCOM 311 LECTURE - 3.pptx
COM 311 LECTURE - 3.pptx
 
Html
HtmlHtml
Html
 
Web topic 1 internet
Web topic 1  internetWeb topic 1  internet
Web topic 1 internet
 
Eba ppt rajesh
Eba ppt rajeshEba ppt rajesh
Eba ppt rajesh
 
Html intake 38 lect1
Html intake 38 lect1Html intake 38 lect1
Html intake 38 lect1
 
Internet
InternetInternet
Internet
 
IP UNIT 1.pptx
IP UNIT 1.pptxIP UNIT 1.pptx
IP UNIT 1.pptx
 
Unit 01 (1).pdf
Unit 01 (1).pdfUnit 01 (1).pdf
Unit 01 (1).pdf
 
Unit 2 (html)
Unit 2  (html)Unit 2  (html)
Unit 2 (html)
 
Fundamental Internet Programming.pdf
Fundamental Internet Programming.pdfFundamental Internet Programming.pdf
Fundamental Internet Programming.pdf
 
Basics of the Web Platform
Basics of the Web PlatformBasics of the Web Platform
Basics of the Web Platform
 
HTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).pptHTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).ppt
 
Wt-UNNIT-1 (1).ppt
Wt-UNNIT-1 (1).pptWt-UNNIT-1 (1).ppt
Wt-UNNIT-1 (1).ppt
 
Web Design.ppt
Web Design.pptWeb Design.ppt
Web Design.ppt
 
Evolution Of The Web Platform & Browser Security
Evolution Of The Web Platform & Browser SecurityEvolution Of The Web Platform & Browser Security
Evolution Of The Web Platform & Browser Security
 
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
 
WEB TECHNOLOGY:Web Essentials and Markup Language HTML
WEB TECHNOLOGY:Web Essentials and Markup Language HTMLWEB TECHNOLOGY:Web Essentials and Markup Language HTML
WEB TECHNOLOGY:Web Essentials and Markup Language HTML
 

More from Mijanur Rahman

Comp107 unit 1,2,3 (1)
Comp107 unit 1,2,3 (1)Comp107 unit 1,2,3 (1)
Comp107 unit 1,2,3 (1)Mijanur Rahman
 
Comp unit 9 e commerce
Comp unit 9 e commerceComp unit 9 e commerce
Comp unit 9 e commerceMijanur Rahman
 
Comp 107 unit 7 and 8 (networking, internet and intranet)
Comp 107 unit 7 and 8 (networking, internet and intranet)Comp 107 unit 7 and 8 (networking, internet and intranet)
Comp 107 unit 7 and 8 (networking, internet and intranet)Mijanur Rahman
 
Comp 107 unit 7 and 8 (networking, internet and intranet) (1)
Comp 107 unit 7 and 8 (networking, internet and intranet) (1)Comp 107 unit 7 and 8 (networking, internet and intranet) (1)
Comp 107 unit 7 and 8 (networking, internet and intranet) (1)Mijanur Rahman
 

More from Mijanur Rahman (6)

Unit 11
Unit 11Unit 11
Unit 11
 
Comp107 unit 5,6
Comp107 unit 5,6Comp107 unit 5,6
Comp107 unit 5,6
 
Comp107 unit 1,2,3 (1)
Comp107 unit 1,2,3 (1)Comp107 unit 1,2,3 (1)
Comp107 unit 1,2,3 (1)
 
Comp unit 9 e commerce
Comp unit 9 e commerceComp unit 9 e commerce
Comp unit 9 e commerce
 
Comp 107 unit 7 and 8 (networking, internet and intranet)
Comp 107 unit 7 and 8 (networking, internet and intranet)Comp 107 unit 7 and 8 (networking, internet and intranet)
Comp 107 unit 7 and 8 (networking, internet and intranet)
 
Comp 107 unit 7 and 8 (networking, internet and intranet) (1)
Comp 107 unit 7 and 8 (networking, internet and intranet) (1)Comp 107 unit 7 and 8 (networking, internet and intranet) (1)
Comp 107 unit 7 and 8 (networking, internet and intranet) (1)
 

Recently uploaded

Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirtrahman018755
 
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsThierry TROUIN ☁
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Russian Call Girls Thane Swara 8617697112 Independent Escort Service Thane
Russian Call Girls Thane Swara 8617697112 Independent Escort Service ThaneRussian Call Girls Thane Swara 8617697112 Independent Escort Service Thane
Russian Call Girls Thane Swara 8617697112 Independent Escort Service ThaneCall girls in Ahmedabad High profile
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$kojalkojal131
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024APNIC
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
 
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with Flows
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Russian Call Girls Thane Swara 8617697112 Independent Escort Service Thane
Russian Call Girls Thane Swara 8617697112 Independent Escort Service ThaneRussian Call Girls Thane Swara 8617697112 Independent Escort Service Thane
Russian Call Girls Thane Swara 8617697112 Independent Escort Service Thane
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 

HTML Fundamentals and Web Page Structure

  • 1. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 WWW AND HTML
  • 2. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 Hypertext • Hypertext is text which is not constrained to be linear • Hypertext is text which contains links to other texts • Link: a relationship between two anchors, stored in the same or different text • Anchor: an area within the content of a node which is the source or• Anchor: an area within the content of a node which is the source or destination of a link - the anchor may be the whole of the node content • Node: a unit of information • The term was coined by Ted Nelson around 1965 • HyperMedia is a term used for hypertext which is not constrained to be text: it can include graphics, video and sound, for example.
  • 3. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 Architectural Overview • The parts of the Web model
  • 4. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 When you click on a http://www.yahoo.com • The browser determines the URL • The browser ask DNS for the IP address of www.yahoo.com • DNS replies with 67.195.160.76 • The browser makes a TCP connection to port 80 on 67.195.160.76 • It sends over a request asking for path “/” and default filename• It sends over a request asking for path “/” and default filename • The www.yahoo.com server sends the file /index.html • The TCP connection is released • The browser displays all the text in index.html (formatting the text according to the instructions contained in the page)
  • 5. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 Thin vs Thick Clients • Web browser: software that allows the user to view certain types of Internet files in an interactive environment – Internet Ecplorer – Firefox– Firefox – Opera – Safari • Web Apps are (typically) “Thin” • Server does processing • Client does presentation – +Simple! (Browser) – - Limited GUI (HTML)
  • 6. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 Thin vs Thick Clients • Software is “Thick” – Eg; a word processor • Thick clients do processing and presentation. • + GUI not limited by HTML • + Snappy (fewer Latency Problems)• + Snappy (fewer Latency Problems) • - People need to download & install client • Example (thick) client: Java Applets – Java applications running on the Java virtual machine included the browser – You must “download” the java plugin to run Java applets.
  • 7. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 The Client Side • (a) A browser plug-in • (b) A helper application • The browser decides what to do based on the Internet media type of the response: e.g., image/gif
  • 8. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 Plug-in • Acrobat PDF reader (plugin) has been invoked by the browser (the content-type of the response is application)
  • 9. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 Helper • Now the helper will been invoked
  • 10. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 Servers • Hardware server – Computer on Internet, always running • Software server – Program running on server– Program running on server • Listening on port – Receives requests, processes them, makes outgoing calls
  • 11. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 What the server will do • Basic model 1.   Accept a TCP connection from the client browser 2.   Get the name of the file requested 3.   Get the file from the disk 4.   Return the file to the client4.   Return the file to the client 5.   Release the TCP connection
  • 12. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 The Server Side • A multithreaded Web server with a front end and processing modules
  • 13. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 URLs – Uniform Resource Locators • Some common URLs
  • 14. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 Uniform Resource Locators URL • Uniform Resource Locator (URL) is used to address a document (or other data) on the World Wide Web • A full Web address like this: http://www.yahoo.com follows these syntax rules: scheme://host.domain:port/path/filename • The scheme is defining the type of Internet service • The domain is defining the Internet domain name like yahoo.com • The host is defining the domain host. If omitted, the default host for http is www • The path is defining a path (a sub directory) at the server • The filename is defining the name of a document. The default filename might be default.asp, or index.html or something else depending on the settings of the Web server.
  • 15. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 HTML – HyperText Markup Language <html> <head> <title> My New Web Page </title> </head> <body> <h1> Welcome to My Web Page! </h1> <p> This page illustrates how you can write proper … </p> <p> There is a small graphic after the period at the end of this sentence. <img src="images/mouse.gif" alt="Mousie" width="32“ height="32" border="0"> The graphic is in a file. The file is inside a folder named "images." </p> <p> Link: <a href="http://www.yahoo.com/">Yahoo! </a> <br> Another link: <a href="tableexample.htm">Another Web page</a> <br> Note the way the BR tag works in the two lines above. </p> <p>&gt; <a href="index.htm">HTML examples index</a> </p> </body> </html>
  • 16. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 HTML Characteristics • Just a Text File! • + Portable • + Human Readable/Writable • Defines the Structure (not Appearance) of the• Defines the Structure (not Appearance) of the document – Client (Browser) defines the appearance (based on the instructions in the html file and some other linked files) • + Portable • + Pours into Browser (PDAs, Bigger/Smaller)
  • 17. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 Document Structure <html> <head><title >My First Web Page< /title> </head > <body bgcolor="white"><body bgcolor="white"> <!-- This is a comment --> <p>A Paragraph of Text.</p> </body > </html >
  • 18. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 HTML Tags • HTML tags are used to mark-up HTML elements • HTML tags are surrounded by the two characters < and > (angle brackets) • HTML tags normally come in pairs like <b> and </b> • The first tag in a pair is the start tag, the second tag is the end• The first tag in a pair is the start tag, the second tag is the end tag • The text between the start and end tags is the element content • HTML tags are not case sensitive, <b> means the same as <B>
  • 19. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 Tag attributes • Each element may have any number of attributes Ex: <body bgcolor="white">…</body> • Attributes provide additional information to an HTML element • Attributes always come in name/value pairs like this: name="value"name="value" • Attributes are always specified in the start tag of an HTML element • Attributes and attribute values are also case-insensitive
  • 20. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 Content vs Presentation • HTML tags were originally designed to define the content of a document • They were supposed to say "This is a header", "This is a paragraph", by using tags like <h1>, <p> , ... • The layout was supposed to be taken care of by the browser• The layout was supposed to be taken care of by the browser • Netscape and Internet Explorer continued to add new HTML tags and attributes (like the <font> tag and the color attribute) to the original HTML specification – Difficult to create Web sites where the content of HTML documents was clearly separated from the document's presentation layout
  • 21. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 Cascading Style Sheeets • CSS stands for Cascading Style Sheets • Styles define how to display HTML elements Example (inside an element): <p style="color: sienna; margin-left: 20px"> This is a paragraph </p> • Styles are normally stored in external CSS Style Sheets• Styles are normally stored in external CSS Style Sheets • Styles were added to HTML to solve the problem of mixed content and presentation instructions in one file • External Style Sheets can save you a lot of work: You can define a style for each HTML element and apply it to as many Web page • Multiple style definitions will cascade into one
  • 22. Subject Name Code Credit Hours INTERNET FUNDAMENTALS AND APPLICATIONS COMP113 3 End