I am new to HTML and am writing my webpages on my pc at work then copying them into our company intranet folder for viewing.
Is there a way to specify a "keyword" that would retrieve a webpage's current location to place in the <base> statement so when I move a webpage it will automatically pick up its new location as the default?
Currently my webpages have 2 <base> statements. One for my pc and one for our intranet. I comment out the one in each webpage that is not appropriate for where the webpage is stored.
Example:
My pc:
<base href="C:\documents\forms\" />
<!--<base href=" />-->
Our intranet:
<!--<base href="C:\documents\forms\" />-->
<base href=" />
Hopefully:
<base href=[getcurrentwebpagelocation] />
Thanks.
Is there a way to specify a "keyword" that would retrieve a webpage's current location to place in the <base> statement so when I move a webpage it will automatically pick up its new location as the default?
Currently my webpages have 2 <base> statements. One for my pc and one for our intranet. I comment out the one in each webpage that is not appropriate for where the webpage is stored.
Example:
My pc:
<base href="C:\documents\forms\" />
<!--<base href=" />-->
Our intranet:
<!--<base href="C:\documents\forms\" />-->
<base href=" />
Hopefully:
<base href=[getcurrentwebpagelocation] />
Thanks.