Professional Documents
Culture Documents
Ethan Cerami
New York University
ORM ACTION="/servlet/coreservlets.ThreeParams">
irst Parameter: <INPUT TYPE="TEXT" NAME="param1"><BR
econd Parameter: <INPUT TYPE="TEXT" NAME="param2"><B
hird Parameter: <INPUT TYPE="TEXT" NAME="param3"><BR
<CENTER>
<INPUT TYPE="SUBMIT">
</CENTER>
FORM>
BODY>
HTML>
10/17/08 Servlet / Web Browser Communication I 16
package coreservlets;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
ADING2 {
color: gray;
font-size: 22px; Then, you apply your styles
By using the SPAN tag.
STYLE>
PAN CLASS="HEADING1">Resume Posting Service</SPAN>
>
PAN CLASS="HEADING2">Provided by hotcomputerjobs.com</SPA
BODY>
HTML>
Defining Styles
Each Style has a name, and a set of
properties.
For example, the heading1 tag is set to
blue, 64 pixels big:
.HEADING1 {
color: blue;
font-size: 64px;
}
Lots of properties exist: color, font-size,
text-align, font-family, etc.