0% found this document useful (0 votes)
31 views18 pages

Sns College of Engineering Coimbatore-107: Web Clients-Web servers-HTML5-Tables-list-images

Uploaded by

fareenarn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views18 pages

Sns College of Engineering Coimbatore-107: Web Clients-Web servers-HTML5-Tables-list-images

Uploaded by

fareenarn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

SNS COLLEGE OF ENGINEERING

An Autonomous Institution
Coimbatore-107

CS8651-INTERNET PROGRAMMING

UNIT-1 WEBSITE BASICS, HTML 5, CSS 3, WEB 2.0

Web clients-web servers-HTML5-Tables-list-


images

CS8651-INTERNET PROGRAMMING 1
Web Clients
• web clients is an application software that
allows us to view and explore information on
the web.
• User can request for any web page by just
entering a URL into address bar.
• Web clients can show text, audio, video,
animation and more. It is the responsibility of
a web browser to interpret text and commands
contained in the web page.
2
CS8651-INTERNET PROGRAMMING
• Earlier the web clients were text-based
while now a days graphical-based or voice-
based web browsers are also available.

CS8651-INTERNET 3
PROGRAMMING
Architecture
• There are a lot of web browser available in
the market.
• All of them interpret and display
information on the screen however their
capabilities and structure varies depending
upon implementation.
• Basic components includes:
– Controller/Dispatcher
– Interpreter
– Client Programs
CS8651-INTERNET PROGRAMMING 4
• Controller works as a control unit in CPU.
It takes input from the keyboard or mouse,
interpret it and make other services to work
on the basis of input it receives.
• Interpreter receives the information from
the controller and execute the instruction
line by line.
• Some interpreter are mandatory while some
are optional For example, HTML interpreter
program is mandatory and java interpreter is
optional.
CS8651-INTERNET PROGRAMMING 5
• Client Program describes the specific
protocol that will be used to access a
particular service. Following are the client
programs tat are commonly used:
– HTTP
– SMTP
– FTP
– NNTP
– POP

CS8651-INTERNET 6
PROGRAMMING
CS8651-INTERNET PROGRAMMING 7
Web server
• Server is a device or a computer program
that accepts and responds to the request
made by other program, known as client.
• It is used to manage the network resources
and for running the program or software
that provides services.
• Web server contains only web or servlet
container.

CS8651-INTERNET 8
PROGRAMMING
• It can be used for servlet, jsp, struts, jsf etc.
• It can't be used for EJB.
• It is a computer where the web content can
be stored.
• In general web server can be used to host
the web sites but there also used some other
web servers also such as FTP, email,
storage, gaming etc.

CS8651-INTERNET 9
PROGRAMMING
• Examples of Web Servers are:
– Apache Tomcat and Resin
– Internet Information Services
– Lighttpd
– Sun Java System Web Server
– Jigsaw Server

CS8651-INTERNET 10
PROGRAMMING
Web Server Working
• It can respond to the client request in either
of the following two possible ways:
• Generating response by using the script and
communicating with database.
• Sending file to the client associated with the
requested URL.

CS8651-INTERNET 11
PROGRAMMING
12
CS8651-INTERNET PROGRAMMING
• Important points
• If the requested web page at the client side is not
found, then web server will sends the HTTP
response: Error 404 Not found.
• When the web server searching the requested
page if requested page is found then it will send
to the client with an HTTP response.
• If the client requests some other resources then
web server will contact to application server and
data is store for constructing the HTTP response.
CS8651-INTERNET 13
PROGRAMMING
HTML-5
• What is New in HTML5?
• The DOCTYPE declaration for HTML5 is
very simple:
• <!DOCTYPE html>
• The character encoding (charset) declaration
is also very simple:
• <meta charset="UTF-8">

CS8651-INTERNET 14
PROGRAMMING
HTML5 Example:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Title of the document</title>
</head>
<body>
Content of the document......
</body>
</html> CS8651-INTERNET
PROGRAMMING
15
New HTML5 Elements
• New semantic elements like <header>,
<footer>, <article>, and <section>.
• New attributes of form elements like
number, date, time, calendar, and range.
• New graphic elements: <svg> and <canvas>.
• New multimedia elements: <audio>
and <video>.

CS8651-INTERNET 16
PROGRAMMING
New HTML5 APIs
• The most interesting new APIs in HTML5
are:
• HTML Geo-location
• HTML Drag and Drop
• HTML Local Storage (Replacement of
cookies)
• HTML Application Cache
• HTML Web Workers
• HTML SSE
CS8651-INTERNET PROGRAMMING 17
THANK YOU

CS8651-INTERNET 18
PROGRAMMING

You might also like