I opened yahoo and sent a request to you to become part of my buddy list.
I opened yahoo and sent a request to you to become part of my buddy list.
Ok, for some reason, I did not recieve it. Did you send it to the right username?
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
sorry for the delay, I'm working, and my daughter also just called me (she's having some throat problems and just wanted to talk), but I'm sending it to the correct address now.
You can use img close tags with strict xhtml
Code:<img/>
Yea, but that is still not a closing tag for <img> (such as what the OP posted before)
Code:<img ...></img>
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
Yes it is. <img /> is directly equivalent to <img></img> in XHTML. It's just shorthand.Yea, but that is still not a closing tag for <img> (such as what the OP posted before)
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
From what I see, I think that the others may have missed that you "don't quite understand the whole directory path issue completely yet;".
It may be your whole problem.
The directory structure issues are the same as they are for finding and using files on your computer.
You could have dozens of files named background.jpg in any of thousands of directory locations on your computer.
Your web page file could also be in any of those places on your computer.
When you tell the web browser <body background="background.jpeg">, it makes an assumption that the background.jpeg file is in the same location as the HTML file. It will not go looking for it in the c:\[some path]\my documents directory.
As a first attempt, try putting the background and logo files in the same directory as your HTML file.
Hopefully that fixes things for this learning experiance.
After that, a lot depends on what or how much style you want your programming (HTML is just a programming language for displays) to have.
If you pile everything in your main directory, it becomes a mess where it is hard to determine what is current, what is old experiments, and what can be thrown out.
You have to decide on what kind of structure you want.
Frequently, people create a new directory for each project. Depending on how complicated the project is, it may have directories under it to contain the graphics or other sections of the project.
Bill Fuhrmann
P.S. I am also a relative newbie to web coding.
Tried this to see if I could get it to work with a jpg of my dog in the my documents folder and for the life of me couldnt do it. So i tried it with Dreamweaver and got thisThat | instead of the colon threw me. Hope that helps. And don't worry about getting in over your head thats how ya learnCode:<img src="file:///C|/Documents and Settings/User/My Documents/Kota.jpg" width="500" height="400" />![]()
Bookmarks