To Lecture Notes
IT 130 -- 1/11/09
 
Review Questions
- What is the name of the folder on students.depaul.edu into which your
HTML files are uploaded?
Ans: public_html
- Suppose that you have composed an HTML page using the PSPad Editor
and uploaded it to the server using SSH. However, the page is blank
or does not appear at all. List some things that might be wrong?
Here is a sample website for illustration:
Website1
Ans:
- You might not have saved the page in PSPad after editing it.
- You might not have refreshed the page after uploading it.
- You might have spelled public_html incorrectly.
- You might not have uploaded the page into the public_html file.
- you might have created the public_html file inside the mail folder.
- You might have forgotten the </title> tag.
- You might have forgotten a --> tag.
- You might have omitted a closing or a closing >.
- You might have the double version problem: you are editing one
version and uploading and viewing a different version.
- The permissions for the page or folders containing it are incorrect.
- You are trying to save an HTML page on the C: drive in the
lab and you get the message Unable to create the file mypage.htm.
Access is denied. What is wrong?
Ans: You are not allowed to save files on the C: drive
in the computer labs. Create the page in the My Documents folder instead.
- You upload a file to the server, then delete the original file
on your PC. Does the uploaded file still exist?
Ans: Yes, there is no connection between the two files after the copy is
performed.
- Write a span tag with an inline style
that will change the word really in a sentence to red italic like this:
This is really important.
Ans: <span style=font-style:italic; color_red;>
- What happens if you forget to include the matching end tag
</span> for a
<span> tag?
Ans: The style defined in the span tag will continue until a
</span> tag is encountered or to the end of the document.
- What is the importance of these persons in the history of
computing and the internet?
Babbage
DeForest
Von Neumann
Lovelace
Shockley
Ans: See the
History of Computing and the Internet.
- What do the vacuum tube and transistor do?
Ans: They serves as a high-speed valves for electricity.
The transistor, being smaller, is faster than the vacuum tube.
- What were the first four hosts connected to the Arpanet in 1969?
Ans: UCLA, UCSB, Stanford, University of Utah
Rules for XHTML
- One of these validation headers is required:
<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
or
<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd>
- Exactly one head section and exactly one body section are required.
- The head section requires a title.
- Tag and attribute names must be in lowercase characters.
- Every tag requires a matching end tag.
- Tags must be nested. Do this:
<head><title>My Web Page</title></head>
not this:
<head><title>My Web Page</head></title>
- Use combination start-end tag when there is nothing between the
start and end tag.
Use
<br /> instead of
<br></br>.
Using simply
<br> is not legal in XHTML.
- Use double quotes for attribute values in a tag. Do this:
<body style=background-color:beige>
not this:
<body style=background-color:beige>
- Use <strong>
and <em> instead of
<b> and <i>.
The Nonbreaking Space Symbol
- The ampersand (&) denotes
a special symbol in HTML/XHMTL.
- The nonbreaking space (HTML special symbol:
)
denotes a space that cannot be eliminated by a browser or broken
across lines of text.
- Repeated ordinary spaces between words are reduced to one
space by the browser.
- Use if you want more than
one space between two words.
- Other important HTML special symbols:
< (<)
> (>)
& (&)
" ()
- Here is a more complete list of
extended HTML characters.
Project 2 -- The History of Computing
- Finish discussing
The History of Computing and the Internet.
- Look at the project Proj2.
- Here is some
dummy text
to use for practice for project Proj2.
- Note: Do not use the subjects
The Fortran Language was Invented or
Intel Introduces the Pentium Chip as topics for project Proj2.
- Here is a link giving more information about Lorem Ipsum text,
including some history:
www.lipsum.com.