Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 07-06-2006, 02:10 AM   #1
Don
Solid State Member
 
Join Date: Jul 2006
Posts: 13
Default XHTML Image help

This is a newb question, But I've just recently got into coding and I need help.

Ok.

<img src="images/photo.jpg" />

images, What does that meen, Folder name? I've even tried a direct route which doesn't be seem to be working. And no my browsers aren't blocking it.
__________________

Don is offline   Reply With Quote
Old 07-06-2006, 05:23 AM   #2
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,006
Default Re: XHTML Image help

images is sinply the name of the folder that the images are in...

what you put there entierly depends on how you have set up the folder on your web server...

if you have this in your web directory
Code:
|
|-index.html
|-photo.jpg
then to link and image you write
Code:
<img src="photo.jpg" />
but if your folders are set up like this
Code:
|
|-index.html
|--images
|    |-photo.jpg
then you use
Code:
<img src="images/photo.jpg" />
like wise if you have

Code:
|
|-index.html
|--pics
|    |-photo.jpg
then you use
Code:
<img src="pics/photo.jpg" />
__________________

__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 07-06-2006, 06:46 PM   #3
Don
Solid State Member
 
Join Date: Jul 2006
Posts: 13
Default Re: XHTML Image help

Oh, I get it now.. I feel like I'm an idiot..

Thanks!

Don is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 01:02 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0