Highlighted

Link that goes to a specific part of another page

Explorer ,
May 07, 2019

Copy link to clipboard

Copied

I want a link on one html page to go to a certain part of another page. I control both pages. How can I do this? I tried <a name="three"> 3.) </a> and then tried my new URL https://carthagemills.com/work-with-carthage.html#three

but that URL takes me to a 404 page.

Adobe Community Professional
Correct answer by Jon Fritz II | Adobe Community Professional

The link above works fine for me.

While the "named anchor" is considered an obsolete method for linking to specific content, it will still work, I believe in every browser. The more current method would be to link to HTML ids that are placed within the elements you want to link to....

<div id="flexible">
     all of your content
</div>

<a href="yourpage.html#flexible">Link to flexible</a>

TOPICS
Learn Dreamweaver

Views

172

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Link that goes to a specific part of another page

Explorer ,
May 07, 2019

Copy link to clipboard

Copied

I want a link on one html page to go to a certain part of another page. I control both pages. How can I do this? I tried <a name="three"> 3.) </a> and then tried my new URL https://carthagemills.com/work-with-carthage.html#three

but that URL takes me to a 404 page.

Adobe Community Professional
Correct answer by Jon Fritz II | Adobe Community Professional

The link above works fine for me.

While the "named anchor" is considered an obsolete method for linking to specific content, it will still work, I believe in every browser. The more current method would be to link to HTML ids that are placed within the elements you want to link to....

<div id="flexible">
     all of your content
</div>

<a href="yourpage.html#flexible">Link to flexible</a>

TOPICS
Learn Dreamweaver

Views

173

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 07, 2019 0
Adobe Community Professional ,
May 07, 2019

Copy link to clipboard

Copied

The link above works fine for me.

While the "named anchor" is considered an obsolete method for linking to specific content, it will still work, I believe in every browser. The more current method would be to link to HTML ids that are placed within the elements you want to link to....

<div id="flexible">
     all of your content
</div>

<a href="yourpage.html#flexible">Link to flexible</a>

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 07, 2019 1