Website Building » Squarespace » Can You Add HTML to Squarespace?

Can You Add HTML to Squarespace?

Last updated on December 12, 2022 @ 5:34 am

Yes, you can add HTML to Squarespace. You can add HTML code to a Squarespace site using the Code Block element. The Code Block element lets you add custom HTML, CSS, JavaScript, and other code to your site.

You can use the Code Block element to embed third-party applications, like a chat widget, on your site. You can also use it to style text with HTML tags like < p >, < b > and < u >.

To add a Code Block to your site:

  1. Log in to your Squarespace account and go to the Dashboard.
  2. Click the Pages button in the left sidebar.
  3. Hover over the page where you want to add the Code Block and click Edit.
  4. Click the + button in the top-left corner of the page and select Code from the drop-down menu.
  5. A new Code Block will appear on your page. Enter your code in the block.
  6. Click Apply.
PRO TIP: Adding HTML to your Squarespace site is generally not recommended. While Squarespace sites are designed to be easy to use and update without code, adding HTML can potentially cause problems with your site’s design or functionality. If you’re not comfortable working with code, we recommend working with a developer to make any changes.
Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.