Reply to Re: How do i create "Sub-links" ?

Your name:

Reply:


Posted by Olli Mδntyranta on 12/15/06 14:21

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>

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация