|
Home > Archive > General Discussion > August 2004 > What Is SRC?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| vincentnl 2004-08-08, 6:47 am |
| I am learning the basics of website design.
Allow me to demonstrate:
<a href="http://www.advancedmobiles.com">Click here to see what I am currently getting up to. I am not advertising</a>
What I really want to know is what src stands for in this statement - <img alt="My Photo" border="1" src="grafficfile">
Found a free tutorial, see, and the tutor appears to be teaching from Windows 98 where I am using Windows XP | |
| vincentnl 2004-08-08, 6:53 am |
|
I must be doing something wrong here not to be able to get that "click here" link. | |
| enforcer 2004-08-08, 8:33 am |
| src stands for source | |
| enforcer 2004-08-08, 8:36 am |
| quote: Originally posted by vincentnl
I am learning the basics of website design.
Allow me to demonstrate:
<a href="http://www.advancedmobiles.com">Click here to see what I am currently getting up to. I am not advertising</a>
What I really want to know is what src stands for in this statement - <img alt="My Photo" border="1" src="grafficfile">
Found a free tutorial, see, and the tutor appears to be teaching from Windows 98 where I am using Windows XP
html is slightly different in forum s oftware the correct syntax in the forum is Click here to see what I am currently getting up to. I am not advertising
quote my post to see syntax NB I have put in a dummy webaddress, change this for yours. | |
| vincentnl 2004-08-08, 6:04 pm |
| I am scratching my head slightly.
May have to play around with what you have just told me. That source stuff tells me to find the folder of my located picture while my picture tells me to name the actual picture, right?
As for HTML being slightly different in forums, I take it that I cannot use it in real life...
Enforcer, your comments are being noted. | |
| enforcer 2004-08-09, 10:47 am |
| quote: Originally posted by vincentnl
<img alt="My Photo" border="1" src="grafficfile">
img alt="My Photo" - this is the text to display if picture can't be found or someone has pictures turned off in their browser.
border="1" - this is the border style
src="grafficfile" - this is the path including filename of the picture to display. | |
| yanqui 2004-08-09, 3:33 pm |
| quote: Originally posted by enforcer
img alt="My Photo" - this is the text to display if picture can't be found or someone has pictures turned off in their browser.
border="1" - this is the border style
src="grafficfile" - this is the path including filename of the picture to display.
The border statement is the width of the border around the graphic.
Also, if you don't specify a directory either in a style or in the "src" statement, the browser will assume that the graphic is in the same directory as the text file that it's reading currently. In other words, if your graphic is in a file called "images" (most end up there), and your text files are in a different file, when you call your source, you need to specify the directory as well, like this:
src="images/graphicfile"
also remember that HTML uses forward slashes, not backslashes. Made that mistake lots of times. | |
| yanqui 2004-08-09, 3:36 pm |
| And most forums don't use HTML, they use some version of Tecumseh Markup Language (TML) or something remarkably identical. | |
| enforcer 2004-08-09, 4:22 pm |
| quote: Originally posted by yanqui
The border statement is the width of the border around the graphic.
Style / width, same difference  | |
| yanqui 2004-08-09, 4:26 pm |
| quote: Originally posted by enforcer
Style / width, same difference
I'll remember that the next time someone makes a snide remark about my hips.
When I think of style, I think of the attributes, I guess they're called; color, dashed or solid, etc. | |
| enforcer 2004-08-09, 4:37 pm |
| quote: Originally posted by yanqui
I'll remember that the next time someone makes a snide remark about my hips.
<space reserved for snide comment about yanqui's hips> | |
| vincentnl 2004-08-09, 6:09 pm |
| Okay,
Enforcer your stuff about having my pictured labelled was clear enough.
Yanqui,
that "images" stuff still leaves a raw taste in my mouth as I tried something similar to it and the result I got was all my pictures listed as opposed to just the one.
To both,
all pictures are labelled, right? Either edited by the keeper with a name or by default by numbers by the pc.
Almost all my images are kept in Drive C in a folder called 'My Pictures'. Almost all are labelled individually.
In the sourcefile, does the directory go something like C\mypictures\(name of picture)?
Sounds like a stupid question I know, not least because I have tried similar using properties and then copying the filename path to get a different result from a picture I fancied.
I'm just a little stuck here right now. | |
| enforcer 2004-08-10, 4:03 am |
| quote: Originally posted by vincentnl
In the sourcefile, does the directory go something like C\mypictures\(name of picture)?
c:\My Pictures\(name of file)
however if you specify C: drive whenb it's o the website it will try to find the c: drive but won't. the pictures need to be in a subdirectory on the server hosting your site, and all file references need to be relative to the root of your webspace. | |
| yanqui 2004-08-10, 9:48 am |
| It seems fine to build your website using the normal directories you always use. But at some point in the future you plan on moving all the "assets" of the site, that is all the files that make up the site, to a web host server. For that reason, you want to create one folder with the name of the website you're creating, like "tutorial1". Under that folder, you want a folder called "images." You may want one for the text files. You may want one for the style sheets (although probably not yet), but those can actually stay with the text files. Move the photos you're using into the images folder. then when you call the image reference, it will start "img src=images/<filename>"
and remember to use forward slashes, not backslashes like you do in file management. If you use a web page editor like Front Page or Dreamweaver, they will create folders for you, but you'll still have to populate the folders with the assets.
I don't know which tutorial you're using, but one won't give you enough material. Try, as well, Boogie Jack's website, Bare Bones, the W3C, and soyouwanna.com for additional instruction.
Mostly, play around with it and ask questions, and see what happens when you do things differently. | |
| vincentnl 2004-08-10, 5:58 pm |
| quote: Originally posted by yanqui
I don't know which tutorial you're using, but one won't give you enough material. Try, as well, Boogie Jack's website, Bare Bones, the W3C, and soyouwanna.com for additional instruction.
Mostly, play around with it and ask questions, and see what happens when you do things differently.
Got my tutorial from a magazines disk.
It has so far proved a lot more useful than trying web-design programs.
Your websites weren't much help, I hate to say, but like you say, I need to play around and ask questions as I am doing now.
If I can find a site for my tutorial or the name and e-mail address of the author, I will happily let you know.
That aside, ain't on my pc regular enough for playtimes.
Cheers
 | |
| yanqui 2004-08-11, 9:45 am |
| I also learned quite a bit from one of the "Bible" series, it was called the INternet Bible. It has a couple of chapters on basic HTML. Sorry you didn't find those sites helpful. I created a seven-page website strictly from hand-coded html, so I promise you it can be done.
Oh, one thing you absolutely HAVE to be careful of: While HTML is not case-sensitive, it is syntactically sensitive. You MUST include all the closing identifiers. For example, if you open with something like <b>, you must have the closer </b>, or it won't take, just like the forum languages. When you know it's typed just the way the tutorial says to do, check the syntax. It's not at all important to indent pretty or even break lines, except for ease in reading. An HTML editor will do that for you, but if you're doing it in Notepad, it's not necessary at all. | |
|
|
| vincentnl 2004-08-11, 5:19 pm |
| quote: Originally posted by yanqui
Try this page for good instructions on how to insert images:
http://www.w3schools.com/html/html_images.asp
I'm working on it, Yanqui, I'm working on it.
Give me time.
That backward and forward slash stuff was good.
The editor of my tutorial appears to have left a fake website - either that or it no longer exists.
You will hear from me again in due time. Right now, I just got a newer distration - a newer mobile phone - no congrats please... |
|
|
|
|