- A markup language
used to actually comprise the content and structure
of a Web page.CSS
- Another language similar to a markup language that defines the style of your Web page
or how the elements in your HTML Web page will look
- An interpreted scripting language
that allows you to add behaviors to your HTML Web page
that may or may not be styled with CSS
.The Holy Trinity - Content, Style, and Behavior.
I tried to use a GIF file that is on my HD instead of the URL. I changed URL(" xx") to
file("c:\map.gif"); as in # 3 above . It did not work. Is the syntax for files different than URL's ?
OK, a couple things.
1. Using a GIF is just fine. No biggie.
2. Do not just guess. Programming or coding if you will is not an area where you just want to pull guesswork. You say you are retired so you should have plenty of time to study this.
3. Whether files, or HTTP address, or FTP address, *all* are considered valid URLs. And anyway, it does not change, it is still:
So in your example it would be:
Remember, URLs utilize forward slashes "/" whereas as directory structures use "\" in Windows.
At any rate I do thank you for all the time and effort. This website and forum has
great people on it.
No problem, ljbirns
. Just pay us back by studying. I know of a quote that I really like.
"Chance favors the prepared mind." --Louis Pasteur