Body: <p>I'm using Notepad++ to format my first novel in HTML before converting it to MOBI and/or ePUB. </p>
  
  <p>I've done the code to make the items on my Table of Contents into live links and they all take me to the in-book headings, both in the default viewer (Chrome) and in the Kindle Previewer. Yay! But I'd like to go one step further and enable a return link, so that the reader can click on the chapter or section head and go back to the TOC.</p>
  
  <p>Here's my test code from the TOC:</p>
  
  <pre><code>&lt;p class="small"&gt;
  &lt;a href="#authornote" id="authornoter"&gt;Author&amp;rsquo;s Note&lt;/a&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>and from the linked heading itself:</p>
  
  <pre><code>&lt;h3 a href="#authornoter" id="authornote"&gt;
  &lt;p class="centeredhead"&gt;AUTHOR&amp;rsquo;S NOTE&lt;/p&gt;
  &lt;/a&gt;&lt;/h3&gt;
  </code></pre>
  
  <p>It works from the TOC to the heading, but not back again.</p>
  
  <p>I imagine it has something to do with the order I've arranged things. But when I reorder them I lose the formatting (font family, size, alignment) included in the "centeredhead" tag.</p>
  
  <p>Is what I want even possible?  If so, how?</p>
  
  <p>(BTW, I'd be willing to compromise and have all the return links point back to the heading of the Table of Contents. Just as long as they return.)</p>
  
  <p>EDIT--
  I redid it like this, and now it works:</p>
  
  <pre><code>&lt;pre&gt;
  &lt;p class="small"&gt;
     &lt;a href="#authornote"&gt;
         Author&amp;rsquo;s Note
     &lt;/a&gt;
  &lt;/p&gt;
  &lt;/pre&gt;
  </code></pre>
  
  <p>With the target and backlink like this.  All it needed was for me to close the > on the h3, and start a new one for the a href.</p>
  
  <pre><code>&lt;pre&gt;
  &lt;h3&gt;
    &lt;a href="#TOC" id="authornote"&gt;
      &lt;p class="centeredhead"&gt;
        AUTHOR&amp;rsquo;S NOTE
       &lt;/p&gt;
    &lt;/a&gt;
  &lt;/h3&gt;
  &lt;/pre&gt;
  </code></pre>
  
  <p>I'm taking it back to the TOC head, which makes more sense anyway.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-07-25T15:00:28.610Z
Comments.Text: Why do you want to do this? Most readers rely on the reading system's builtin navigation system (which they can open by clicking the TOC icon). The navigation system is constructed using the toc nav element. Is there something special about your content  that requires the reader to go to the actual html page?
Comments.UserDisplayName: idiotprogrammer
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-07-25T15:07:25.463Z
Comments.Text: If you are trying to do an bidirectional annotation/footnotes, check out 9.3.12 Footnote Guidelines of the Amazon Kindle Publishing Guidelines.
Comments.UserDisplayName: idiotprogrammer
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-07-30T03:24:33.033Z
Comments.Text: Thanks for the referral to the Guidelines  As to why, call it a fondness for redundancy.  What's the use of having a live TOC in the book itself if it doesn't go both ways?
Comments.UserDisplayName: HendrickHillBooks
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-07-30T03:26:38.970Z
Comments.Text: At any rate, I figured out how to do it.  That means I should edit my post for future reference, right?
Comments.UserDisplayName: HendrickHillBooks
Tags: <html><formatting><table-of-contents><hyperlinking>
Title: Return links for Table of Contents list and in-book headings
UserDisplayName: HendrickHillBooks
ThreadText: # Return links for Table of Contents list and in-book headings
  
  (Asked by: username_0 on 2018-07-24)
  
  I'm using Notepad++ to format my first novel in HTML before converting it to MOBI and/or ePUB. 
  I've done the code to make the items on my Table of Contents into live links and they all take me to the in-book headings, both in the default viewer (Chrome) and in the Kindle Previewer. Yay! But I'd like to go one step further and enable a return link, so that the reader can click on the chapter or section head and go back to the TOC.
  Here's my test code from the TOC:
  
  Author’s Note
  
  
  and from the linked heading itself:
  
  AUTHOR’S NOTE
  
  
  It works from the TOC to the heading, but not back again.
  I imagine it has something to do with the order I've arranged things. But when I reorder them I lose the formatting (font family, size, alignment) included in the "centeredhead" tag.
  Is what I want even possible?  If so, how?
  (BTW, I'd be willing to compromise and have all the return links point back to the heading of the Table of Contents. Just as long as they return.)
  EDIT--
  I redid it like this, and now it works:
  
  
     
         Author’s Note
     
  
  
  
  With the target and backlink like this.  All it needed was for me to close the > on the h3, and start a new one for the a href.
  
  
    
      
        AUTHOR’S NOTE
       
    
  
  
  
  I'm taking it back to the TOC head, which makes more sense anyway.
  
  **Tags:** html, formatting, table-of-contents, hyperlinking
  
  > **Comments:**
  > **username_1**: Why do you want to do this? Most readers rely on the reading system's builtin navigation system (which they can open by clicking the TOC icon). The navigation system is constructed using the toc nav element. Is there something special about your content  that requires the reader to go to the actual html page?  
  > **username_1**: If you are trying to do an bidirectional annotation/footnotes, check out 9.3.12 Footnote Guidelines of the Amazon Kindle Publishing Guidelines.  
  > **username_0**: Thanks for the referral to the Guidelines  As to why, call it a fondness for redundancy.  What's the use of having a live TOC in the book itself if it doesn't go both ways?  
  > **username_0**: At any rate, I figured out how to do it.  That means I should edit my post for future reference, right?  
  
  ---
  
  ## 0 answers
  
  