How to Create an Anchor (Jump) Link | University Marketing and Communications (2024)

Creating Anchor Links

An anchor is a piece of HTML code that is used as a bookmark to create a link to a particular section within a page. For example, it could be a 'back to top' link that takes the user to the top of the current page, or it could be a link that takes a user directly to a particular section located the middle of another page entirely.

For a normal link, the thing you want to link to has a URL of its own. However for an anchor link (otherwise known as a jump link), the page you want to link to and the page the link is on is the same page. In this case, you've got to make up a name for the link's destination.

Anchor links are a two-step process

  1. Create an anchor
  2. Link to the anchor


Create an anchor

In the Beyond Basic Block:

  1. Check to see that the text format in the text editor (or WYSIWYG) is set to FULL. If it’s set to Basic HTML, change it to Full HTML.
  2. In the body field, type in the text that you'd like to display.
  3. In the text editor, click SOURCE.
  4. Navigate to where you want to insert an anchor.
  5. In the HTML code, insert the anchor using the format id=“anchor_name” within the <p> tag.
  6. In the text editor, click SOURCE again, to see the front end of the text. Your code should not be visible on the front end.
  7. Click Add or Update the Block to save.

Examples

Examples are shown as they will look after clicking Source on the text editor.

<p id="anchor">This is a paragraph I want to link to.</p>

The anchor will go right to the words “This is a paragraph I want to link to."

Title Here

Some uninteresting text.

More text that is just not important enough for an anchor link.

This is a paragraph I want to link to.

And here is more non-important text.

Example 2

Using a heading as an anchor

<h2 id="anchor2">This is the anchor which is also a heading.</h2>

This example will jump right to the heading.

This is the anchor which is also a heading.

Tips when linking to headings

When linking to headings, uncheck the box to display the original title field, and instead place the heading into the body field. Then style the title using the appropriate heading tags.

Then add the anchor link to the heading tag.

See the example of an user interface showing where each component is on Example 3.

Example 3

How to Create an Anchor (Jump) Link | University Marketing and Communications (2)

How to Create an Anchor (Jump) Link | University Marketing and Communications (3)

Note

  • It’s recommended to usea word or phrase that describes the link's destination.
  • If you use a phrase, use underscores instead of spaces in your anchor link text. Spaces don't work.
  • Always use the FULL HTML editor when creating an anchor. If you try to add code to the Basic text editor, your code will not save as expected.
  • Remember that ID values must be unique, and can't be re-used as anchors for other elements.

Link to an anchor

  1. In the body text editor, select the text that you want to format as a link.
  2. In the text editor panel, click the Link icon. It looks like a figure 8 on its side.You can also use the link keyboard shortcut by clicking Ctrl + K on a PC, or ⌘+ K on a Mac.
  3. On the Add link panel in the URL field, type in the hashtag symbol and the anchor name. Use underscores for spaces in the name if you use more than one word. No title needed.
  4. Save link.
  5. Update the block.

Once you click save layout, you can test your anchor link.

Here is an example of the header anchor link.

How to Create an Anchor (Jump) Link | University Marketing and Communications (4)

Anchor Link - Complete!

Congratulations. You now have a functioning hyperlink between two pieces of content on the same page.

How to Create an Anchor (Jump) Link | University Marketing and Communications (2024)

FAQs

How to create an anchor jump link? ›

Link to an anchor

You can also use the link keyboard shortcut by clicking Ctrl + K on a PC, or ⌘+ K on a Mac. On the Add link panel in the URL field, type in the hashtag symbol and the anchor name. Use underscores for spaces in the name if you use more than one word. No title needed.

How do I create an anchor link in intercom? ›

How To Add An Anchor Link To Text:
  1. Highlight the desired text.
  2. Select Anchor Tag in the text formatting menu. This will automatically apply H2 styling.
  3. Text is now underlined with a visual indicator that an anchor link is applied to the text.

How to create a link to jump to a specific part of a page without anchor? ›

Alternatively a header or image or paragraph tag can be used in place of anchors as shown below: Note: Each id can appear only once on a page. We can assign a href value to the anchor tag using the id of the link target, preceded by the #(hashtag/pound) symbol.

How to create an anchor link in word? ›

To insert a new anchor, right-click on the position where you would like to insert the anchor, and choose the Insert Anchor command from the context menu. Alternatively, you can use keyboard shortcut CTRL/CMD + SHIFT + K. Type in the name of the anchor, for example 'Report', and click OK or press Enter.

What is the code for an anchor link? ›

The <a> HTML element (or anchor element), with its href attribute, creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address. Content within each <a> should indicate the link's destination.

How to create a link? ›

Create a hyperlink to a location on the web

Select the text or picture that you want to display as a hyperlink. Link. You can also right-click the text or picture and click Link on the shortcut menu. In the Insert Hyperlink box, type or paste your link in the Address box.

How do I create an anchor link in CMS? ›

Open the editable region where you want to insert the anchor. Highlight the text you want to turn into a link. icon to open the "Insert/Edit Link" box. If anchors exist on this page, the "Anchors" dropdown will be available.

How do I create an anchor link in Powerpoint? ›

Try it!
  1. Select the text, shape, or picture that you want to use as a hyperlink.
  2. Select Insert > Link. The drop-down menu shows any links copied to your clipboard and recent files.
  3. Choose what you want or select Insert Link at the bottom.
  4. Select Existing File or Web Page, and add the: ...
  5. Select OK.

How do anchor links work? ›

An anchor link is a link that appears in the middle of content on a website that guides the website visitor to a different page with content they may be interested in reading.

How to create a link to jump to a specific part of another page? ›

Here are four steps to link to a specific part of a page:
  1. Give a title to the text you'd like to link. ...
  2. Put the title into an opening HTML anchor link tag. ...
  3. Insert the anchor tags around the text you want to link to. ...
  4. Create a hyperlink that leads you to the text.
Jul 30, 2024

How do you create a link to jump to a specific part of a page Excel? ›

On a worksheet, select the cell where you want to create a link. On the Insert tab, select Hyperlink. You can also right-click the cell and then select Hyperlink... on the shortcut menu, or you can press Ctrl+K. Under Display Text:, type the text that you want to use to represent the link.

How do I create a link to jump to a specific page in word? ›

Right-click and then select Link. Under Link to, click Place in This Document. In the list, select the heading or bookmark that you want to link to. Note: To customize the Screen Tip that appears when you rest the pointer over the hyperlink, click ScreenTip, and then type the text that you want.

How do I create a named anchor link? ›

2 How to create named anchors?
  1. Choose the Location: Decide where you want a link to take you on the same webpage.
  2. Create the Link Point: Use an HTML element like <a>, <div>, or <span>, and give it a unique name using the id attribute.
  3. Name Your Link Point: In the id attribute, provide a name for your link point.
Aug 21, 2023

What is the anchor format of a link? ›

They allow you to link to another webpage, a specific section of a page, an email address, a file, or any other URL. They are also known as anchor elements or <a> tags. The element starts with “<a,” ends with “</a>.” And contains various attributes that make up the full tag. We'll get into the attributes below.

Is a jump link the same as an anchor link? ›

Also known as a jump link, an HTML anchor link is the link that takes you to a specific part of a webpage. Anchor links are especially helpful for guiding users through a long page.

How do you add an anchor link to jump to a specific part of a page in WordPress? ›

How to Create Anchor Links in WordPress
  1. Highlight the header in the Gutenberg Block and click “Advanced” on the right-hand pane.
  2. Enter a link ID for the highlighted header in the “HTML Anchor” box.
  3. Next, highlight the text inside the block that you want to use as your anchor link, and click the chain link icon.

How do I make a hyperlink jump to a specific part of a page? ›

Here are four steps to link to a specific part of a page:
  1. Give a title to the text you'd like to link. ...
  2. Put the title into an opening HTML anchor link tag. ...
  3. Insert the anchor tags around the text you want to link to. ...
  4. Create a hyperlink that leads you to the text.
Jul 30, 2024

How to create an anchor link in SharePoint? ›

Here are the steps you can follow to create an anchor link:
  1. Step 1: Identify the Section or Design Element. ...
  2. Step 2: Insert a Code Design Element. ...
  3. Step 3: Copy and paste the JavaScript code. ...
  4. Step 4: Save and Republish. ...
  5. Step 5: Share the anchor link.
Jun 3, 2024

Top Articles
How Much Do Product Designers Make? (2024 Salary Guide) | Untitled UI
Family LLC vs. Trust | Estate Plan Guide
Kreme Delite Menu
Missed Connections Inland Empire
How Much Is 10000 Nickels
Puretalkusa.com/Amac
Florida (FL) Powerball - Winning Numbers & Results
Orlando Arrest and Public Records | Florida.StateRecords.org
Used Sawmill For Sale - Craigslist Near Tennessee
Sport-News heute – Schweiz & International | aktuell im Ticker
Nick Pulos Height, Age, Net Worth, Girlfriend, Stunt Actor
Grandview Outlet Westwood Ky
Kamzz Llc
Lista trofeów | Jedi Upadły Zakon / Fallen Order - Star Wars Jedi Fallen Order - poradnik do gry | GRYOnline.pl
Raz-Plus Literacy Essentials for PreK-6
Kcwi Tv Schedule
683 Job Calls
From This Corner - Chief Glen Brock: A Shawnee Thinker
Weathervane Broken Monorail
Craigslist Rentals Coquille Oregon
Craigslist Pasco Kennewick Richland Washington
Cfv Mychart
Craigslist Brandon Vt
TJ Maxx‘s Top 12 Competitors: An Expert Analysis - Marketing Scoop
Why comparing against exchange rates from Google is wrong
The Monitor Recent Obituaries: All Of The Monitor's Recent Obituaries
The Posturepedic Difference | Sealy New Zealand
R3Vlimited Forum
Martin Village Stm 16 & Imax
Soiza Grass
Cheap Motorcycles Craigslist
How to Get Into UCLA: Admissions Stats + Tips
R Nba Fantasy
Tiny Pains When Giving Blood Nyt Crossword
Hindilinks4U Bollywood Action Movies
Crazy Balls 3D Racing . Online Games . BrightestGames.com
Jason Brewer Leaving Fox 25
Gifford Christmas Craft Show 2022
Vindy.com Obituaries
Craigslist Woodward
Craigslist Binghamton Cars And Trucks By Owner
Unblocked Games - Gun Mayhem
Port Huron Newspaper
Online College Scholarships | Strayer University
Star Sessions Snapcamz
Theater X Orange Heights Florida
Shiftselect Carolinas
Oak Hill, Blue Owl Lead Record Finastra Private Credit Loan
Minecraft Enchantment Calculator - calculattor.com
Craigslist Farm And Garden Missoula
Comenity/Banter
Latest Posts
Article information

Author: Dr. Pierre Goyette

Last Updated:

Views: 5674

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Dr. Pierre Goyette

Birthday: 1998-01-29

Address: Apt. 611 3357 Yong Plain, West Audra, IL 70053

Phone: +5819954278378

Job: Construction Director

Hobby: Embroidery, Creative writing, Shopping, Driving, Stand-up comedy, Coffee roasting, Scrapbooking

Introduction: My name is Dr. Pierre Goyette, I am a enchanting, powerful, jolly, rich, graceful, colorful, zany person who loves writing and wants to share my knowledge and understanding with you.