|
Posted by Rik on 12/15/06 14:27
Olli Mδntyranta wrote:
> webactor@gmail.com wrote:
>> Hi Folks
>>
>> How do i create "Sub-links" ?
>>
>> Ex. if you write "netcraft" on Google
>>
>> You will see that there appear some "sub-links"
>> That links directly to specific elements on the website
>>
>> How do i make create "Sub-links" for my website ?
>>
>>
>> Hope you kan help my
>>
>> C yaaaa - Kimo
> Hi!
>
> There are two ways:
>
> <a href="#there">Read there</a>
> <!-- some markup -->
> <p id="there">This is the section you wanted to have linked</p>
>
>
> <a href="#orThere">Or read there</a>
> <!-- some markup -->
> <p><a name="orThere">This is an anchor</a>,
> which can also be linked to!</p>
>
> Using the first method is easier and more common today, since you
> have a simpler markup that way. Remember that while you may use
> numbers in 'id' -attribute, you may not use them as the first digit.
> You can also link to a specific part of the page from other page using
> the same method:
> <a href="otherpage.html#here">Interesting part on other page</a>
I think you've missed the point (or did I?).
AFAIK it's about a hit on google, which has several sublinks underneath to
different portions/subdomains/etc. on the site.
I wouldn't know how to tell Google this BTW :-).
It's not about html, so a bit offtopic, alt.internet.search-engines would
be more appropriate.
--
Rik Wasmus
[Back to original message]
|