OutFront Forums
     Home    Register     Search      Help      Login    

Sponsors
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

 

Base Location (href)

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Search Engine Optimization and Web Business >> Base Location (href)
Page: [1]
 
 
newboy

 

Posts: 4
Joined: 11/29/2009
Status: offline

 
Base Location (href) - 11/29/2009 20:17:38   
Almost finished my first site (using MS Expression Web 2), and I am confused by base href on Page Properties. I assumed I would use this to give an address each major page of my site to help SEO, ie www.mysite.com/gallery, www.mysite.com/bookshop and so on, but in a recent forum on EW2, I got the impression that you would normally leave base location empty. Can someone advise me on this?
treetopsranch

 

Posts: 1651
From: Cottage Grove, OR, USA
Status: offline

 
RE: Base Location (href) - 11/29/2009 21:32:55   
A base URL for all relative URLs on a page:

The href attribute specifies a base URL for all relative URLs on a page.

Example code:

<head>
<base href="http://www.w3schools.com/images/" />
</head>

<body>
<img src="stickman.gif" />
</body>

So since we have specified a base URL in the head section, the browser will look for the image at "http://www.w3schools.com/images/stickman.gif"

Does that answer your question? It can possibly save you some coding effort. However, I don't use it.

You can find an example at www.w3schools.com



_____________________________

Don from TreeTops Ranch, Oregon

"I've got a taste for quality and luxury"


(in reply to newboy)
newboy

 

Posts: 4
Joined: 11/29/2009
Status: offline

 
RE: Base Location (href) - 11/30/2009 0:23:58   
To Don, Tree Tops Ranch Oregon,
Thanks for the advice Don; it's been bugging me for a while. Oh, and thanks for putting me onto w3schools, it looks as if it could be really handy.

Brian - Narooma Australia

(in reply to newboy)
Page:   [1]

All Forums >> Web Development >> Search Engine Optimization and Web Business >> Base Location (href)
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts