25
Exploring Office 2003 – Grauer and Barber HTML And Basic Web page

Exploring Office 2003 – Grauer and Barber HTML And Basic Web page

Embed Size (px)

Citation preview

Exploring Office 2003 – Grauer

and Barber

HTML And Basic Web page

Structure of a Web Document

<html>

<head> <title>Title of page</title> </head> <body> This is my first homepage.

<b>This text is bold</b>

</body>

</html>

Basic HTML Tags

HTML Links

<a href="url">Text to be displayed</a>

<a href="http://www.w3schools.com/">Visit W3Schools!</a>

<a href="http://www.w3schools.com/" target="_blank">Visit W3Schools!</a>

HTML Frames

<frameset cols="25%,75%">   

<frame src="frame_a.htm">   

<frame src="frame_b.htm">

</frameset>

HTML Tables

HTML Forms and Input

<form>

<input>

<input>

</form>

The Form's Action Attribute and the Submit Button When the user clicks on the "Submit" button, the content of the

form is sent to another file. The form's action attribute defines the name of the file to send the content to. The file defined in the action attribute usually does something with the received input.

<form name="input" action=“check_user.jsp" method="get"> Username: <input type="text" name="user">

<input type="submit" value="Submit"> </form>

Practice Exercises

Login Page

Input Class

ESL Registration

Student Grade / Semester

ESL Registration for Officer Module

Design Web Page for inputting An Employee

An Employee has first name, last name, id, birthday, gender, Type of employee (Full Time or Part time), education (B.A. , Master, or Doctor)

TCP/IP

TCP/IP is the communication protocol for the Internet

TCP/IP stands for Transmission Control Protocol / Internet Protocol

Inside TCP/IP

Hiding inside the TCP/IP standard there are a number of protocols for handling data communication:

TCP (Transmission Control Protocol) communication between applications

UDP (User Datagram Protocol) simple communication between applications

IP (Internet Protocol) communication between computers ICMP (Internet Control Message Protocol) for errors and

statistics DHCP (Dynamic Host Configuration Protocol) for dynamic

addressing

IP is Connection-Less

IP is for communication between computers. IP is a "connection-less" communication protocol. It

does not occupy the communication line between two communicating computers. This way IP reduces the need for network lines. Each line can be used for communication between many different computers at the same time.

With IP, messages (or other data) are broken up into small independent "packets" and sent between computers via the Internet.

IP is responsible for "routing" each packet to its destination.

IP Routers

When an IP packet is sent from a computer, it arrives at an IP router.

The IP router is responsible for "routing" the packet to its destination, directly or via another router.

The path the packet will follow might be different from other packets of the same communication. The router is responsible for the right addressing depending on traffic volume, errors in the network, or other parameters.

http://www.grc.com/dos/PacketRouting.htm

http://www.profitgate.net/webchart.html

IP Addresses

Each computer must have an IP address before it can connect to the Internet.

Each IP packet must have an address before it can be sent to another computer.

This is an IP address: 192.68.20.50.This might be the same IP address:  www.w3schools.com

You will learn more about IP addresses and IP names in the next chapter of this tutorial.

Domain Names

12 digit numbers are hard to remember. Using a name is easier. Names used for TCP/IP addresses are called domain names.

w3schools.com is a domain name. When you address a web site like http://www.w3schools.com,

the name is translated to a number by a DNS process (Domain Name Server).

All over the world, a large number of DNS servers are connected to the Internet. DNS servers are responsible for translating domain names into TCP/IP addresses and update each other with new domain names.

When a new domain name is registered together with a TCP/IP address, DNS servers all over the world are updated with this information.