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've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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.