List Info

Thread: quick question about story.html




quick question about story.html
user name
2006-06-29 17:39:57


On Jun 29, 2006, at 9:05 AM, erinjhill wrote:

> <a name=";$fn"&gt;$title&lt;/a>
>
> Just wondering why story.html (specifically the suggested example at
> blosxom.com)
> contains the anchor tag for the title but includes no href to make it
> a legitimate link.
>; Or for that matter why make it a link at all?
>

The <a> tag serves two purposes. When it has an href attribute, it is
a link. When it has just a name, it is an anchor, and defines a
location in the page that another link can jump to. So, you can do
something like:

a.html:
...
<a name=";foo"&gt;Section 45</a&gt;
...

b.html:
...
<a href=";a.html#foo">Go to Section 45</a&gt;
...

-kevin

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )