HCI201 -- Lecture 2′
Review/Discussion Questions
- What does HTML mean?
Ans: Hypertext Markup Language
- What does XHTML mean?
Ans: Extensible Hypertext Markup Language.
- What does CSS mean?
Ans: Cascading Style Sheets.
- Why use CSS?
Ans: Cascading Style Sheets (CSS) deal with issues that HTML cannot handle. CSS is a powerful, flexible way to specify HTML formatting. It lets you separate the style and layout of your HTML from its content, allowing you to control the position, margins, spacing, fonts, colors, typefaces, and other aspects of a web document's elements without compromising its structure.
- What does W3C mean?
- What is the purpose of W3C?
Ans: A body formed to define standards for HTML and XHTML. Beyond that, they have the responsibility of standardizing any technology related to the Web; they manage the HTTP, CSS, and XML standards.
- Name some popular Web browsers.
Ans: Internet Explorer, Firefox, Netscape, Opera, Mozilla, Crome (Goggle), Safari (Apple).
- What is the file extension of an HTML file?
Ans: .htm or .html
- What does it mean to upload a webpage?
Ans: It means to copy a file from a local PC to the web server so that it can be viewed by anyone over the internet.
- What software can you use to upload a webpage?
Ans: SSH, FTP. A web browser is not used to upload a web page because browsers are read only for web content.
- Should SSH be used to view or edit HTML files?
Ans: Definitely NO! A browser like Internet Explorer is used for viewing purposes. You can get yourself in lots of trouble if you start using SSH for viewing and editing files.
- What does it mean to download a webpage?
Ans: It means to move the page from the server to the local PC.
- When working on the PC, what application should you always have open?
Ans: Windows Explorer   (launch it: Start | Programs | Accessories)
- Why is it important to set Windows Explorer to display
file extensions?
Ans: Because you will want to know the exact name of the file without trying to guess the file extension from the icon beside the file. It is also easy to make mistakes when changing the name of a file.
(Invoke Windows Explorer >> Tools >> Folder Options >> View Tab >> Uncheck the box "Hide extensions for known file types.") - What is the name of the server on which all of your HTML files will reside?
Ans: students.depaul.edu
- What is the name of the folder on students.depaul.edu into which
all of your HTML files are uploaded?
Ans: public_html
- If I'm working on a PC in the classroom lab, how should I have the file
structure set up?
Ans: On the C drive (or your memory stick):yourname
HCI201
images
- In my account on students, how should I have the file
structure set up?
Ans:public_html
HCI201
images
- Suppose that you have composed an HTML page using the Notepad 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?
Ans:
- You might not have saved the page in Notepad 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 folder.
- you might have created the public_html file inside the mail folder.
- You might have forgotten the </title> tag.
- You might have forgotten an ending comment tag, i.e., -->
- 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 might not have saved the page in Notepad after editing it.
- 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.
Look at Homework Assignment 1.