BizarreHazar Posted November 29, 2021 Share Posted November 29, 2021 No matter how I rearrange my HTML, I am constantly blocked from viewing my page because there is a "Syntax Error on line 1" - there is NO syntax error on line 1. I have an entire block of code written out in a notepad file and it opens perfectly with web browsers. Below is a clip of it, from the beginning. How is <!DOCTYPE html> a syntax error? I have my opening and closing <head> and <body> tags way down below on the full document; again, this is just a clip. <!DOCTYPE html> <html> <head> <style> div.a {text-indent: 30px; } </style> <link href='https://fonts.googleapis.com/css?family=Rajdhani' rel='stylesheet'> <style> body { font-family: 'Rajdhani'; font-size: 16px; font-weight: bold; background-color: rgb(240,240,240) } </style> Link to comment
paul2009 Posted November 29, 2021 Share Posted November 29, 2021 You cannot add HTML to the Custom CSS panel. This is for CSS (LESS) only. Improve your online store with our extensions.About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links.Buy me a coffee Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment