- What is the name of the file on students.depaul.edu into which your
HTML files are uploaded?
Ans: public_html
- 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 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: In some DePaul computer labs you are not allowed to save files directly on the C: drive. Create a folder on the C: drive and put the
file in that folder.
- 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.
- Give a tag in HTML that does not require a matching end tag.
Look at Example 2.
Ans: <br />
- What does mean?
Ans: Non-breaking space. The text on either side of the non-breaking
space will not be split across two lines.