Jump to content

html where it should not be according to W3.org

Go to solution Solved by paul2009,

Recommended Posts

Site URL: https://warmearthcosmetics.com

I have an error on website with html placed where it is not supposed to be according to W3C. Here is the issue:

<!doctype html>
<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" lang="en-US"  >

which is above my <head> right on top of every web page ..... I have no idea how to get rid of it...... any suggestions????? 

Squarespace doe not give me access to the back-end editing of this issue..... 

Screenshot 2022-04-27 1.42.41 PM.png

Link to comment
  • Solution
51 minutes ago, Dug said:

I have an error on website with html placed where it is not supposed to be...which is above my <head> right on top of every web page

The structure in the screenshot is correct. The <html> element is the top-level element of an HTML document and should contain all other elements including the <head> and <body> elements.

However, you shouldn't need to worry about technical details like this when building a site on Squarespace, which is why you cannot edit these details.

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment
  • 1 year later...

I have this same issue and my website auditor keeps saying that it's a problem because http instead of https is making my site look unsecure. How did the below get on top of every page on my site and more importantly, how do I get rid of it? 

<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" lang="en-US" class="touch-styles">
  <head>
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.