sarah's page

sarah's file

A web page is stored in a file whose named ends with .html. For example, the file you are reading is named page.html. Put the file in the public_html subdirectory of your home directory on our server storm.cis.fordham.edu.

Elements and tags

A web page in the language HTML is made of elements. Each element usually begins and ends with a tag, so the tags usually come in pairs. A tag is easy to recognize because it is enclosed in angle brackets, i.e., a less than sign and a greater than sign. The two tags of a pair have the same name, and the second tag also has a diagonal slash. Between the two tags is the text that the element contains.

For example, each paragraph counts as an element. Each paragraph begins with a P tag and ends with a slash P tag. Between the two tags is the text of the paragraph.

A bigger element can contain smaller elements inside of it. For example, in this page see the CODE elements in the first paragraph, and the I elements in the second paragraph.

The overall structure of the web page

The web page begins with a doctype line. The rest of the web page is one big element called the HTML element. The HTML elements contains two smaller elements, the HEAD element and the BODY element. The BODY element should begin with an H1 element, specifying the heading for the page. The HEAD element should begin with a TITLE element, specifying the text in the page's tab in the web browser.

Some elements are just a single tag

A very small element that contains no text is written with only one tag, ending with a diagonal slash.
For example, the BR element causes a line break,
and the HR element draws a horizontal line.


Colors!!!!

Column 1 Column 2 Column 3
Row 1 green, red red and blue make purple
Row 2 white and red make pink gray, orange silver, gold
Row 3 teal, bronze lavender, brown

More Colors!!!!

Column 1 Column 2
Row 1 purple is my favorite color pink and blue are tied for my 2nd favorite color
Row 2 orange is my least favorite color green is probably my 2nd least favorite
Form

A Web Page Containing Two Forms


Summation form

Compute the sum of the integers from 1 to inclusive.

Run the C++ gateway https://storm.cis.fordham.edu/~mmeretzky/cgi-bin/summation.C




A useless form with a lot of widgets that does nothing

Last name:

First name:

Check if on medication. (These are checkboxes.)
Check if drowsy.
Check if the level of pain is intolerable.

What is your favorite month? (These are radio buttons.)
January
February
March
April
May
June
July
August
September
October
November
December

What is your favorite borough of New York City? (This is a pop-up menu.)


Enter a Number. r must be less than or equal to n, and both numbers must be greater than or equal to 0?


What is your favorite color?


Please adjust the volume.
(Low) (High)



Erase all the data you entered into this form.


Summation form

Enter a Number. r must be less than or equal to n, and both numbers must be greater than or equal to 0

Run the C++ gateway https://storm.cis.fordham.edu/~mmeretzky/cgi-bin/permutation.cgi




>