CISC 1400 Computer Project

2. What is a HTML Document?

HTML stands for Hyper Text Markup Language. Each HTML file must have an htm or html file extension, andcan be created using a simple text editor.

The following is a short example of what the html for a simple page might look like. When appearing in your browser, this page would look like this.

<html>
<head>
<title>My first Web Page</title>
</head>
<body bgcolor = "white">

<h2>My first Web Page </h2>
<p>I am so happy to be at Fordham! Here are some things about me you
might like to know.
<ul>
<li> My favorite color is blue.
<li> John Mulcahy Hall is home away from home.
<li> I love the Big Apple.
<li> My favorite web site is <a href="http://www.cnn.com">cnn.com </a> </ul>
</body>
</html>

HTML markup tags

The parts that are highlighted using red is called markup tags that tell the Web browser how to display the page. All formatting takes place via use of tags. Most HTML tags (such as <b> and </b> or <html> and </html>) come in pairs: they wrap around the text that you wish to have formatted in a particular way.

For example, <b>HELLO </b> would make the word HELLO appears in boldface in your browser, i.e., HELLO.

HTML tags that everyone needs to know:

Hyperlink: what's hyper about HTML?

One feature that makes HTML and WWW so powerful and successful is the ability to link to other web pages. Here is how to include a link to other websites (webpages) in your own web page. The HTML tag to use is called anchor, i.e., <a> and </a>. To link to another web page you must provide the web address (called a URL) of the page to link to. This is done by adding the web address as follows:

<a href="http://enter web address">add the text of your link</a>

Here is an example: The following paragraph is generated from the following html:

For further information check out this <a href="http://www.w3schools.com/html/"> online html tutorial.</a>
For further information check out this online html tutorial.

Embed Pictures

A picture is worht a thousand words! To embed your favorite pictures or photos in your web page, you need to take two steps:

  1. Upload the pictures files (.jpg, .pic, .gif) to the server (i.e., storm.cis.fordham.edu).
  2. In your webpage, use img tag to include embed the pictures. <img src="name of image file"> Add an image to your web page.
Here is an example: (Note that I have first upload the two .jpg files to the directory where this page is located: (For you, you should just upload the image files to the public_html directory of yours: The height=140 in the example specifies an attribute for the image, here it's the displaying height in pixels.
<img src="dog.jpg" height=140/>
<img src="cat.jpg" height=140/>

List of Content

  1. Introduction
  2. What is a HTML Document?
  3. Create your web page (via web interface, via terminal)
  4. Requirement of your web page
  5. Intro. to JavaScript (extra credits)
  6. Delete your web pages