Web Programming: 1St Meet
Web Programming: 1St Meet
1ST MEET
OBJECTIVES
Web server
• A web server is a computer that provides web page services.
• Each web server has an IP address and / or domain name and
web server software and is also connected to the internet
network.
• Examples of web server software: Apache, GlassFish, NCSA,
and IIS.
WEB TERMINOLOGY
Browser
• A browser is an application software that is used to find, retrieve and
display content from the World Wide Web, in the form of web
pages, images, videos, audio and other multimedia files.
• The browser is a client of a web server that is run on the side of the
user's computer to contact and request information and a web server.
• Examples of browser software: Internet Explorer, Netscape
Navigator, Firefox, Google Chrome, Apple Safari and Opera.
WEB TERMINOLOGY
Web Programming
• Activities to write web application source code intended
to create certain functionality that is run on a web server
and can be accessed by various web users with different
platforms.
• Web programming languages include, PHP, ASP, JSP,
Python, etc.
WEB TERMINOLOGY
• Two-tier client/server
architecture
WEB
ARCHITECTURE
• Three-Tier
Client/Server
Architectures
WEB TECHNOLOGY
HTTP
Server
URI
• Uniform Resource Identifier is a string of characters used
to identify names, resources, or services on the Internet.
• The web is an information space, URI is the steering wheel
to navigate information space.
• Unique naming for Web / addressing technology (HTML:
only data format, HTTP: Web protocol)
URI AND URL
URL
• Uniform Resource Locator is a series of characters according to
a certain standard format, which is used to indicate the
address of a source such as documents and images on the
Internet.
• Subset of URIs for several existing internet protocols, such as:
http, ftp, mailto, etc.
• Not used anymore in making specifications
HTTP
• Below is a
visualization of an
HTML page
structure:
HTML VERSIONS
• Since the early days of the web, there have been many
versions of HTML:
Version Year
HTML 1991
HTML 2.0 1995
HTML 3.2 1997
HTML 4.01 1999
XHTML 2000
HTML5 2014
HTML ELEMENTS
• HTML links are defined with the <a> tag. The link address is
specified in the href attribute:
<a href="https://www.w3schools.com">This is a link</a>
• HTML images are defined with the <img> tag.
• The filename of the image source is specified in
the src attribute:
<img src="img_girl.jpg">
<img src="img_girl.jpg" width="500" height="600">
HTML HEADINGS
<html>
<head>
<title>Title</title>
</head>
<body>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</body>
</html>
HTML PARAGRAPHS
<html>
<head>
<title>Title</title>
</head>
<body>
<p>Paragraph 1</p>
<p>Paragraph 2</p>
<p>
Line 1<br>
Line 2
</p>
<p align=center>Paragraph
(centered)</p>
<p align=right>Paragraph (left
aligned)</p>
<pre>Pre-formatted text (spaces
and line breaks
are preserved)</pre>
<hr>
</body>
</html>
HTML TEXT FORMATTING
<html>
<head>
<title>Title</title>
</head>
<body>
<em>Emphasis</em><br>
<strong>Strong</strong><br>
<cite>Citation</cite><br>
<code>Code</code><br>
</body>
</html>
HTML STYLES
<html>
<head>
<title>Title</title>
</head>
<body>
<i>Italic</i><br>
<b>Bold</b><br>
<u>Underline</u><br>
<tt>Typewriter</tt><br>
A<sub>i</sub><sup>j</sup><br>
<font size="+3">Relative</font> size<br>
<font size=24>Absolute</font> size<br>
<font color=blue face="Helvetica,Arial">
Face/color</font>
</body>
</html>
HTML LISTS
<html>
<head>
<title>Title</title>
</head>
<body>
<ul>
<li>Apples
<li>Oranges
<li>Bananas
</ul>
<ol>
<li>First
<li>Second
<li>Third
</ol>
</body>
</html>
HTML IMAGES
<html>
<head>
<title>Title</title>
</head>
<body>
<p>This is a GIF image<br>
<img src="img_girl.jpg" alt="Girl in
a jacket" width="500" height="600">
</body>
</html>
HTML TABLES
<html>
<head>
<title>Title</title>
</head>
<body>
<table border cellpadding=6>
<tr>
<th>1</th>
<td>2</td>
<td rowspan=2 colspan=2>3,4,7,8</td>
</tr>
<tr>
<th>5</th>
<td>6</td>
</tr>
</table>
</body>
</html>
ANY QUESTION ?
EXERCISE