Jump to content

Closing </a> tag in code block fails

Recommended Posts

Site URL: https://www.zeiafoods.com/find-us-about-vertical-1

I am trying to use code blocks to create links to jump to different section of a page.  I have put code blocks above (<a id="RETAIL">) and below (<a/>) a text block which I then link on another part of the page ( <a href="#RETAIL">RETAIL</a>).  My problem is that this works in some parts of the page but not others.  It seems like I'm setting up code blocks in the exact same way, but the closing </a> tag shows up red sometimes (see screenshot for example, when I tried to set up a link in the restaurants section for MASSACHUSETTS), and I have no idea why.  Sometimes, the links still work even though  the closing tag is red.  What can I do to fix this problem? 


Link to comment
  • Replies 2
  • Views 478
  • Created
  • Last Reply


This topic is now archived and is closed to further replies.

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.