Website Building » Squarespace » How do I embed HTML in Squarespace?

How do I embed HTML in Squarespace?

Last updated on December 10, 2022 @ 2:15 am

Embedding HTML in Squarespace is simple, and can be done by following these steps:

1. In the “Layout” tab of your Squarespace account, click on the “Web” button.

2. In the “Web” tab, click on the “HTML” button.

3. In the “HTML” tab, click on the “Insert HTML” button.

4. In the “Insert HTML” window, enter the following code:

< !-- < !DOCTYPE html >

< html lang="en" >

< head >

< meta charset="utf-8" >

< title >

My Title Here

< /title >

< /head >

< body >

< h1 >

My First Heading

< /h1 >

< p >This is a paragraph.< /p >

< /body >

< /html >

— >

PRO TIP: When embedding HTML in Squarespace, be careful to only use code that is compatible with Squarespace’s platform. Otherwise, your code may not work as expected, or may even break your site.

5. Click on the “Update HTML” button.

6. Your HTML should now be embedded in your Squarespace page.

Kathy McFarland

Kathy McFarland

Devops woman in trade, tech explorer and problem navigator.