Jump to content

[SOLVED] What's the syntax...


tfburges

Recommended Posts

...for immediately going to a named section on a page?  I know it always involves a "#" character and then the name of the section but I can't remember the html syntax for naming the section.  I've googled everything I could think of and to no avail since google ignores the "#" character.  I know the html for the link is always something like <a href="some_page.php#section">...

 

 

In advance, sorry to post in the wrong section!  It's just that I know this one is read most frequently and I'd like an answer ASAP!  <3

Link to comment
https://forums.phpfreaks.com/topic/120544-solved-whats-the-syntax/
Share on other sites

Haha just kidding!

 

I always do this...

 

I tried one more search string on google right after I posted this topic and found it.

 

It's just <a name="section"> and then when linked use <a href="page.php#section">.

 

And lol... I figured most here would know it off the top of their head and more people read this than the other.  And registering for another forum just for html help takes too long.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.