• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

Participant ,
Mar 08, 2020 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!

TOPICS
Code , How to

Views

1.0K

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
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 08, 2020 Mar 08, 2020

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>

 

Votes

Translate

Translate
Community Expert ,
Mar 08, 2020 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— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

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
community guidelines
Participant ,
Mar 08, 2020 Mar 08, 2020

Copy link to clipboard

Copied

LATEST

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

Votes

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
community guidelines