Whats the difference between a sourse & a base url

G

Guest

Can someone explain in plain terms, Whats the difference between a sourse & a
base url
 
S

Steve Easton

A base url also called a base href, is used in the head section of a page like this:
<head>
<base href="http://www.website.com/images/" />
</head>

So in this example any images used in the page would only need <img src="imagename.gif" />
and they will display in the page.

You can also use the following to open pages when links are clicked:
target=_blank" for a new window
target =_parent" to open a page in a parent frameset
target="self" to open in the same window
target="_top" to open links in the full body of the window.

Note that this is limited to the following doctype DTDs S=Strict, T=Transitional, and F=Frameset.

A source url is the full path to a file opened in your browser:
http://www.website.com/index.html




--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top