WordPress.org

Ready to get started?Download WordPress

Forums

trying to create ANCHORS to text on the same page (2 posts)

  1. ButterflyHerder
    Member
    Posted 4 years ago #

    Hi there -

    I'm trying to create a few anchors that, when clicked, will take the reader to a paragraph lower on the page.

    When I test it, it opens up a NEW page, and never takes me down to the actual paragraph.

    Here's the code for the link at the top:
    <strong><a href="#ouch" target="_self">OUCH! How I Went from Chump to Champ</a></strong>

    And here is the heading I'm trying to anchor to:
    <h3 id="ouch">OUCH! How I Went from Chump to Champ</h3>

    I'd love some feedback on this, please. Thanks in advance!

    Cynthia

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Try:

    <strong><a href="http://full_url_of_page#ouch">OUCH! How I Went from Chump to Champ</a></strong>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags