Академический Документы
Профессиональный Документы
Культура Документы
Schedule
Lectures Mon
Wed Fri Consultation Hours Fri Tue
8.00 9.00 am
8.00 9.00 am 8.00 9.00 am 11.00 12.00 2.00 3.00
BKB 107B
BKB 107B BKB 107B Multimedia Lab
Reference Books
1. Internet and World Wide Web How to Program, Deitel and Deitel 2. Programming the World Wide Web, 2nd Edition, Robert W. Sebesta 3. Mastering HTML 4, 2nd Edition, D.S. Ray and E.J. Ray 4. Learning XML: Guide to Creating Self Describing Data, Erik T. Ray
Syllabus
1. 2. 3. 4. HTML SGML AND XML JAVASCRIPT PERL/CGI
Assessment
Assignment : 20% Mini Project : 10% Test I : 20 % Test II : 20% Final : 30 %
A home computer may be linked to the Internet using a phone-line modem, DSL or cable modem that talks to an Internet service provider (ISP).
What is an IP Address?
Every computer connected to Internet has unique IP address The Internet Protocol (IP) address is a unique 32-bit number Written as four 8-bit numbers, separated by periods eg: 192.168.0.12
The host name and all the domain names are together called a fully qualified domain name.
Web Browsers
Documents provided by servers on the Web are requested by browsers, which are programs running on client machines Microsoft Internet Explorer and Netscape Navigator are the most popular web browsers.
Web Servers
Web servers are programs that provide documents to requesting browsers.
The most commonly used Web servers are Apache and Internet Information Server (IIS) from Microsoft
HTML - Introduction
HTML has a central role in the Web A simple format for describing the structure of hypertext or hypermedia documents - plain text (ASCII) files with embedded codes for logical markup Not designed to be the language of a WYSIWYG word processor such as Word or WordPerfect Formally an SGML (Standard Generalized Markup Language) application
The minimal HTML document could contain just those elements (such document, however, will remain empty on screen, since its body is empty)
Example 1: Minimal HTML document <html> <head> <title>Internet programming</title> </head> <body> </body> </html>
Document head
The head element contains general information, or meta-information, about the document. What element can appear in the head depends on HTML version. Some elements: <title>
The title of the document. All document must have a title.
<base>
A record of the original URI of the document: this allows you to move the document to a new location and have relative URIs access the appropriate place with respect to the original URI.
<link>
Defines the relationship(s) between this document and another or others. A document can have several <link> elements.
<meta>
A container for document metainformation.
<style>
Stylesheet instructions, written in a stylesheet language. Stylesheet instructions specify how the document should be formatted for display.
<script>
A code of client-side script in the document. Example languages are JavaScript and VBScript.
<head> <title>Internet programming</title> <base href="http://www.it.lut.fi/index.html"> <link rel="stylesheet" type="text/css" ref="courses.css"> <link href="toc.html" rel="contents"> <link href="slide2.html" rel="next"> <style> BODY,TD,TH,UL,DL,OL,H1,H2,H3,H4 { font-family: Arial, Helvetica, sans-serif; } .smaller { font-size: 9pt; } </style> <script type="text/javascript" src="foo.js" charset="ISO-88591"> <!-// embedded script, only executed if foo.js is unavailable document.write("foo is gone"); // --> </script> </head>