Highlighted

Cannot figure out how to create name anchors in DW...

Explorer ,
Mar 08, 2020

Copy link to clipboard

Copied

I am trying to create a name anchor tag.  I simply want a hyper-link to connect to another section of my website.  This has been incredibly difficult to do!  Something that was once so simple even in DW now feels like trying to crack a code.

I am just reacquainting myself with Dreamweaver (2020) after working with Muse for a  few years.   I understand that the "name anchor" tag in DW is long gone.  But everything I have read to be able to link to a section of my website has not worked.  I'm not even sure if they are called "Name Anchors" anymore.

I'm sure I am doing something wrong, but I don't know what.  Any help would be very much appreciated!

Adobe Community Professional
Correct answer by Nancy_OShea | Adobe Community Professional

Named anchors were removed from HTML5 a long time ago.  Simply give your section or container a unique ID and reference it in your link code. 

 

<section id="uniqueID">

CONTENT GOES HERE

</section>

 

<a href="#uniqueID">Link to unique ID on same page</a>

<a href="page_name.html#uniqueID">Link to unique ID on another page</a>

 

Topics

Code, How to

Views

441

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

Cannot figure out how to create name anchors in DW...

Explorer ,
Mar 08, 2020

Copy link to clipboard

Copied

I am trying to create a name anchor tag.  I simply want a hyper-link to connect to another section of my website.  This has been incredibly difficult to do!  Something that was once so simple even in DW now feels like trying to crack a code.

I am just reacquainting myself with Dreamweaver (2020) after working with Muse for a  few years.   I understand that the "name anchor" tag in DW is long gone.  But everything I have read to be able to link to a section of my website has not worked.  I'm not even sure if they are called "Name Anchors" anymore.

I'm sure I am doing something wrong, but I don't know what.  Any help would be very much appreciated!

Adobe Community Professional
Correct answer by Nancy_OShea | Adobe Community Professional

Named anchors were removed from HTML5 a long time ago.  Simply give your section or container a unique ID and reference it in your link code. 

 

<section id="uniqueID">

CONTENT GOES HERE

</section>

 

<a href="#uniqueID">Link to unique ID on same page</a>

<a href="page_name.html#uniqueID">Link to unique ID on another page</a>

 

Topics

Code, How to

Views

442

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
Adobe Community Professional ,
Mar 08, 2020

Copy link to clipboard

Copied

Named anchors were removed from HTML5 a long time ago.  Simply give your section or container a unique ID and reference it in your link code. 

 

<section id="uniqueID">

CONTENT GOES HERE

</section>

 

<a href="#uniqueID">Link to unique ID on same page</a>

<a href="page_name.html#uniqueID">Link to unique ID on another page</a>

 

Nancy O'Shea, ACP
Alt-Web.com

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...
Dlewis78 LATEST
Explorer ,
Mar 08, 2020

Copy link to clipboard

Copied

Worked like a charm.  It was the path to the other page I was not defining correctly.  Thank you, Nancy!

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...
Resources
Learn Resources
Add a group