CSSE 290 Web Programming

Lecture 1: Internet/WWW

Reading: Ch. 1

Except where otherwise noted, the contents of this document are Copyright 2012 Marty Stepp, Jessica Miller, and Victoria Kirst. All rights reserved. Any redistribution, reproduction, transmission, or storage of part or all of the contents in any form is prohibited without the author's expressed written permission.

Otherwise note: Claude Anderson was given permission to modify the slides for CSSE 290 at Rose-Hulman by author Jessica Miller. The authors' original slides, based on Web Programming Step by Step, can be seen at http://webstepbook.com.

Some of the examples in some days' slides are from David Fisher at Rose-Hulman, who was kind enough to allow me to use them. My intention is to mark these examples with [DSF].

Valid HTML Valid CSS!

Lecture 1 Topics

Course Intro 1

Course Intro 2

5-minute break

We should have one of these every day, sometime near the middle of the class period

1.1: The Internet

The Internet

The Internet
  • the Web is the collection of web sites and pages around the world; the Internet is larger and also includes other services such as email, chat, online games, etc.

Brief history

Key aspects of the internet

People and organizations

IETF ICANN W3C

Internet Protocol (IP)

Transmission Control Protocol (TCP)

1.2: The World Wide Web (WWW)

Web servers and browsers

web server

Web servers and browsers

browser usage chart

Domain Name System (DNS)

Uniform Resource Locator (URL)

Hypertext Transport Protocol (HTTP)

HTTP error codes

Web languages / technologies

2.1: Basic HTML

Today I'll mainly show you a few HTML basics.

Next time you'll spend most of the in-class time writing HTML.

Hypertext Markup Language (HTML)

Structure of an HTML page

<!DOCTYPE html>
<html>
	<head>
		information about the page
	</head>

	<body>
		page contents
	</body>
</html>

Page title: <title>

describes the title of the web page

<title>Chapter 2: HTML Basics</title>

Paragraph: <p>

paragraphs of text (block)

<p>
Notice that the layout   of the
input text   makes     little diffference in a
paragraph.               The browser collapses multiple
spaces and treats line breaks as spaces.</p>

Headings: <h1>, <h2>, ..., <h6>

headings to separate major areas of the page (block)

<h1>University of Whoville</h1>
<h2>Department of Computer Science</h2>
<h3>Sponsored by Micro$oft</h3>

Let's make a page!