Answers.Body: <p>Craft CMS does absolutely nothing to your front end code, and there's literally nothing in Craft that would make anchor links – i.e. <code>&lt;a href="/tabs#anchor1"&gt;Click&lt;/a&gt;</code> – in your front end markup behave in any other way than normal.</p>
  
  <p>The error is probably somewhere in your front end code (either in your Twig/markup or possibly in your JavaScript).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-02T11:27:53.873Z
Answers.Text: Afraid I haven't added any javascript in at this point, my markup is exactly how you've just laid it out there which is why I can't understand why it doesn't show
Answers.UserDisplayName: Amy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-01T18:17:12.727Z
Answers.LastActivityDate: 2018-02-01T18:17:12.727Z
Answers.UserDisplayName: Mats Mikkel Rummelhoff
Body: <p>I'm trying to add tabs into my Craft Site and have just noticed that when you add an anchor point, the anchor ID doesn't actually show up in the URL as it would a normal site, however I need this anchor to be able to target certain tabs in the menu. </p>
  
  <p>Is there a way or plugin that forces to anchor to be added to the url?</p>
  
  <p>Example: </p>
  
  <p>mysite.com/tabs#anchor1</p>
  
  <p>mysite.com/tabs#anchor2</p>
  
  <p>mysite.com/tabs#anchor3</p>
  
Tags: <url><craft-features>
Title: Force Anchor ID into page URL
ThreadText: # Force Anchor ID into page URL
  
  (Asked by: username_0 on 2018-02-01)
  
  I'm trying to add tabs into my Craft Site and have just noticed that when you add an anchor point, the anchor ID doesn't actually show up in the URL as it would a normal site, however I need this anchor to be able to target certain tabs in the menu.
  
  Is there a way or plugin that forces to anchor to be added to the url?
  
  Example:
  
  mysite.com/tabs#anchor1
  
  mysite.com/tabs#anchor2
  
  mysite.com/tabs#anchor3
  
  **Tags:** url, craft-features
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-02-01. Score: 1
  
  Craft CMS does absolutely nothing to your front end code, and there's literally nothing in Craft that would make anchor links – i.e. `<a href="/tabs#anchor1">Click</a>` – in your front end markup behave in any other way than normal.
  
  The error is probably somewhere in your front end code (either in your Twig/markup or possibly in your JavaScript).
  
  > **Comments:**
  > **username_0**: Afraid I haven't added any javascript in at this point, my markup is exactly how you've just laid it out there which is why I can't understand why it doesn't show  
  
  ---
  
  