Skip to main content

HTML a href tag


just found out what this means

< a href="#SectionName" />

i thought is some kind of special HTML "code" like tags that only web pages could understand but i'm wrong (this what happened when u just copy paste others code :D)

well it somehow said (for u only, i translated into my languange) "go to that #SectionName"
means if u #bottom at above code, it move to #bottom section..what? i don't have any section call like that, how to make a section?

this is the important part, in order to have section u just need to have

< a name="SectionName" />
at any part of ur HTML tags..for example above just add a

< a name="top" href = "#bottom"/> to bottom
< table ... >
...
< / table >
< a name="bottom" href = "#top"/> to top

that's it..amazing right? i'm amazed :shy:

PS: don't forget to move the extra space at the quote block..since if i omit it..it won't display...

Comments

Rudi said…
Just my guess that 'A' is stand for anchor, < a href="somepage.html#someanchor" >some link caption< /a > tell that this 'some link caption' link is direct us to 'someanchor' at page 'somepage.html', where the anchor defined as you said in your post.
eRiCk said…
bottom

well just try this, click the link..

i repost this twice :sad: since the blogger or my internet is not good enough

for ur post rudi lee, yes the 'A' is for Anchor eventhough not sure what it means since in indonesian stands for 'sauh, jangkar' :weird:

just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line
just some text to added line

top
Rudi said…
Yup, it's correctly analogous the real anchor function, so wherever your position on the sitemap, you can just click on the link to get back to where the link pointing at(the anchor).

Just adding up, it's the A tag were a basic and fundamental component of the HyperLink feature of HyperText that composing WWW.

Popular posts from this blog

Crystal Report 2010 - Failed to load database information

"Failed to load database information" error when i try deploy my program with CR 2010 using TTX file as report definition this is because there is missing .dll, call "CRDB_FIELDDEF.DLL"..u need to manually copy the file to "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86" folder then the report is loading again it said that TTX is old tech but i'm still using it because i don't need to connect the report to any DB, but until i found new one to replace :D check this link to read it [EDIT 25 Jan 2011] i think i'll using ADO.NET Dataset next time :D until then

Resolve Collation error in SQL Server

i often get this error when trying to JOIN some table Cannot resolve the collation conflict between "SQL_Latin1_General_CP850_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation. u need to use COLLATION when performing the JOIN, something like this SELECT field1 FROM table1 INNER JOIN table2 ON table1.field3 COLLATE DATABASE_DEFAULT = table2.field4 COLLATE DATABASE_DEFAULT i found this when trying to JOIN, maybe it affect other areas..until i found one see u

Session timeout problem in IIS

Hi, Long time no post, i will try to post again since i came out searching a typical solution over and over again :D Now i'm gonna post about session. Since i got this from other link so here it is So I started looking into the IIS settings and came to know that i missed two things to change : Application pool’s Idle Time-out (minutes) Session state  – State server’s Time-out (seconds) Once I have changed above settings than after Session timeout worked. So after that I have made one checklist that can help us to validate Session timeout settings, here i am sharing it with you as well so that you will also get some benefits from it : Application Pool  – Advanced Settings Menu – Process Model – Idle Time-out (minutes) Sites –  Session State  – Cookie Settings – Time-out (minutes) If you are using  State Server  or  SQL Server  to manage your session (instead of InProcess), Here is the steps to follow :    ...