Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

Looking for the book? They have it at the Engineer's Bookstore at 748 Marietta St NW. Here is there website: http://www.engrbookstore.com/ - Monica

Hotspots: Slides and CodeTA CornerComments?AnnouncementsFAQStatic Webspace
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Spring 2006 Lab 3 Questions

Questions? Post them here and a TA will try to answer them.

So you told me to use the doc type to get rid of the left alignment problem... So do I just put that at the beginning of all of my code? I tried that and it didn't fix anything... sorry I'm kinda stupid when it comes to cs.

So to do the mouseover code is there an HTML tag? I have searched for one but can only find a JAVA script. Is this ok? or am I simply missing something?

Why is it a must to close img tags? It works with or without (the tags on the coweb pages leave them open). I left the open till around a year ago when someone said it was poor form, so i do it. But what are the benifits? same with other 1 time tags like br

Most browsers are forgiving about details like this, so you don't really need to bother. But if you bend the rules, your pages may not display correctly on all browsers now or in the future. Colin Potts

What does it mean when validation check returns "Tentatively passed validation" and says "No Character Encoding Found! Falling back to UTF-8"

Don't worry about it. If you're really concerned, add this tag to your <head>...
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-Blake O'Hare

I've used legal html code all through my webpage and have followed every rule and seen your suggestion. Yet the validation tool claims there are errors in the code. Here's the address, please help: http://www.prism.gatech.edu/~kkokala3/

K


I can't get my text to align back to the left. I have told it to stop centering the text with and I feel like I have tried everything else, but I'm making a list now and I can't align it to the left! Help please!
You may use this doctype on your main page if you are using frames:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
That should fix most of those problems. -Blake O'Hare

can we include CSS? also isnt closing all singleton tags a part of XHMTL 1.0 and not strict HTML 4.0?


OK so I didn't want to post this on the worm thing, but why are we doing homework that we have "learned" nothing about. I understand that we have to learn things on our own, but we have no background to go off of, especially if we're not CS majors.
I understand your frustration, but you will be going over this, and if you have any problems, come visit one of us at office hours, we are glad to help. Liz Helms

If I want to have a clickable image link, do I just treat it like an anchor tag and put the image tag where the text goes?
Sounds good to me. Liz Helms

I am having problems downloading WinSCP. I download it but when i click it it does not open! What do i need to do or is there another program i can use?
It won't work on Mac. If this statement does not apply to you, it is difficult to tweak this problem without being at your computer. Please see a TA with your laptop or if you don't have a laptop, go see a TA that has a laptop and email all your files to yourself before you go. -Blake O'Hare

Alright, so I've got everything on my website looking exactly how it needs to look and I've checked over my code way too many times to make sure that it's all correct. However, W3 still consists that it's plagued with problems. It doesn't state what they are, it only says that it's not utf-8. The lines it shows seem to be perfectly fine. What's going on?
This wasn't mentioned in the tutorial, but there are certain characters that are not allowed. If you have any weird symbols, use HTML entities in their place. If that's not the case, seek a TA to help hunt them down. -Blake O'Hare

can we double up with some of the requirements? can my clickable image link also be the picture of me?? and just a ps thank you to all the tas who bust their tails to help us! Leyna Palmer
Yes. -Blake O'Hare

I am having trouble loading my page. When I load the page it automatically shows index of my gt# with a link to parent directory and a link to the page I uploaded? Why isnt my page showing up directly on the original prism page?
It has to be named EXACTLY index.html or index.htm. It is case-sensitive. -Blake O'Hare

What FTP program can we use for macs?
I use Fugu. You should be able to download it from OIT.Colin Potts

I put my email address in for host name and then for user name just the gtg000 part and then the password in the passowrd part but it says that this is not a valid host name. Help!
The host is acme.gatech.edu -Blake O'Hare

Regarding question three entries up: What has to be index.html?
Your main HTML file. -Blake O'Hare

Is it okay to upload all/most of our pictures from a photohost website? Or do we have to bring them in from our computer as well?
I'm not sure what you are asking. Please clarify your terminology. -Blake O'Hare

If I create multiple pages, do I name one index.html, another whatever I want, and load both of them?
Yes. Just make sure you link to it correctly. -Blake O'Hare

why is it that my pictures dont always load when i open the page? sometimes they do and sometimes they dont.
Viewing a web page locally from your hard drive allows case insensitive file paths for images and such. Viewing a page on a server (usually) is case sensitive. If that's not the problem, then I need to see your page to diagnose this. -Blake O'Hare

so i understand the concept of links and i have made two pages to link together but i dont know where on the web the second page is. i know the first one is that the prism thing but where'd the other one go??
It is where ever you uploaded it. I cannot provide more information than this. Use WinSCP to browse your directory or upload your 2nd page again and keep track of where you uploaded it. -Blake O'Hare

When I run the html checker at ( navigator.w3.org) I am consistently given the error that my code
 <p align="center"> 
is incorrect. The error states "document type does not allow element "P" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag." This is a common function used and have even seen it used in some of Blake's example HTML for the lab. Why does it claim that this is an error?
Chances are you put a p tag where it violated the nesting rules of another tag. For example...
<table>
<p>stuff</p>
<tr>etc... -Blake O'Hare

Closing singleton tags is part of the XHTML specification, not HTML 4.01. Therefore, one cannot use the HTML 4.01 DOCTYPE and close singleton tags and expect it to validate, therefore it is impossible to not be deducted on this assignment. What should I do?
You are incorrect. Closing of standalone tags validates fine for me with this doctype. Please check that there aren't other errors that are making it appear this way. -Blake O'Hare
If you read the HTML 4.01 specification, no where does it state closing of standalone tags as part of it. Sure, tags such as img tags will validate fine with or without it, but meta tags cannot have the closing / as seen in the next question. Please see the example meta Content-Type tag in the specification here: http://www.w3.org/TR/html4/charset.html:
I always considered XHTML a proper subset of HTML and figured that would work. You are correct about the meta tag, it does not require closing. I have been pwned. -Blake O'Hare

So I have this under heading:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" / >
<title>Welcome to my webpage!</title >
</head >
The only error I get when I try to validate my page is this:
Character data is not allowed here: ...ent="text/html; charset=iso-8859-1" />
That's where the tutorial said to put the meta tag; I just copy-pasted it in there. Am I missing something?
See above post

can we use notepad to compile our web pages?
Yes, notepad is recommended. -Blake O'Hare

Is it okay if our table is in a link on our page and not directly on our main page?
If you do that, then any validation errors on your secondary page will be incorporated into your grade. You can do this if you want to, but be careful and make sure all pages validate cleanly. -Blake O'Hare

Once we get the page validated it gives you code you can put into your website. Do we need to copy this validation into our code or will you validate it and know it has been validated?
To validate your html, we will copy the url into the w3 validator. So if is valid html for you then it should be valid html for the tas. You do not need to do anything else once your page is valid, on prism and has fullfilled all of the requirements. -Albert d'Heurle

I didn't have a public_html folder under my gt#. I created one but when I try to pull my website up I get an error that says "Forbidden, you can't access /~gtg845a on this server" What gives?? How do I get a public folder?? My files are all in that folder when I open it.
You have to make sure the permissions of the folder you created are correct. -Albert d'Heurle

OK, so I have all my images and my HTML code on Notepad in the same place, in my html code all the names of the pictures are correct, and they're all jpeg(the pictures and in the code), however, the pcitures come up as the tiny squares with red Xs in them. Why will my pictures not show up?
Check your capitalization and make sure they're the same. Amanda Bennett

"So to do the mouseover code is there an HTML tag? I have searched for one but can only find a JAVA script. Is this ok? or am I simply missing something?"....I was also wondering that...
You got it. Amanda Bennett

Do we have to cite the websites we used to get help with this lab? (image changing pictures, mailform pages, etc.)
Nope. Don't forget a collaboration statement if you worked with someone though. Amanda Bennett

I keep getting the error "end tag for element "P" which is not open."
What am I doing wrong??
I'd suggest going to a TA's office hours for this one. Make sure that you have p tags where you want a paragraph to start and no extraneous closing paragraph tags. Amanda Bennett


I'm also getting that error message, and I think it's because I have font face="Arial" (with the signs before and after) before anything else in my body. Apparently this isn't allowed. How do I make it so that ALL my text is in arial?

Check out this page http://www.w3schools.com/html/html_fonts.asp There's a hint at the bottom of the page about why you aren't passing validation... Amanda Bennett

I just want to make sure that we don't have to post anything to Webwork for this assignment. Is this correct? We just post it to our prism page.

how many points get counted off for validation errors? If you want specifics let's say about 11...


I validate my file and I get many errors saying element "P" undefined, or element "H3" undefined. I have checked over the file many times and have used the html format that was shown in the slides...so what have I done wrong?