Code:
<a href="http://www.website.com/very/long/path/page1.htm">Page 1</a>
<a href="http://www.website.com/very/long/path/page2.htm">Page 2</a>
<a href="http://www.website.com/very/long/path/page3.htm">Page 3</a>
The above requires me to keep inserting
"http://www.website.com/very/long/path"
What is the html version of the below?
Code:
foo=http://www.website.com/very/long/path
<a href="$foo/page1.htm">Page 1</a>
<a href="$foo/page2.htm">Page 2</a>
<a href="$foo/page3.htm">Page 3</a>