Skip to main content
Inspiring
July 2, 2018
Answered

Why no final <html> tag

  • July 2, 2018
  • 10 replies
  • 1799 views

Just noticed on all my pages, the final <html> tag is not there.

Instead I see this:

  

<script>'undefined'=== typeof _trfq || (window._trfq = []);'undefined'=== typeof _trfd && (window._trfd=[]),_trfd.push({'tccl.baseHost':'secureserver.net'}),_trfd.push({'ap':'cpsh'},{'server':'p3plcpnl0351'}) // Monitoring performance to make your website faster. If you want to opt-out, please contact web hosting support.</script><script src='https://img1.wsimg.com/tcc/tcc_l.combined.1.0.6.min.js'></script></html>

Is this weird? It does not seem to effect performance with SEO and Google, pages are coming up ok, but just curious.

the <html> tag final is on local copy of pages.

This topic has been closed for replies.
Correct answer pziecina

Call your host.  Your site might have been hacked.


The script is a page/site tracking script, so I'm wondering if the OP is using a free or very cheap hosting package?

10 replies

Nancy OShea
Community Expert
Community Expert
July 2, 2018

Is your web host injecting that script into all your pages?

Nancy O'Shea— Product User & Community Expert
larry45Author
Inspiring
July 2, 2018

Osgood, Nancy thanks.

Yes, I meant </html>

Nancy, I'm now with Godaddy. Are they the culprit of this? I have no idea. Just noticed this yesterday, so can't compare to previous host.  Godaddy C panel been hosting the site now 3 years.

Is this an  issue pages don't end with </html>?

Is on local copies.

And what is this script thing , ever seen it before?

Legend
July 2, 2018

larry4545  wrote

Osgood, Nancy thanks.

Yes, I meant </html>

Nancy, I'm now with Godaddy. Are they the culprit of this? I have no idea. Just noticed this yesterday, so can't compare to previous host.  Godaddy C panel been hosting the site now 3 years.

Is this an  issue pages don't end with </html>?

Is on local copies.

And what is this script thing , ever seen it before?

If you are seeing code being injected into your page when you havent put it there yourself or used a script to put it there then you need to speak with your host.

Do pages need a closing </html> tag, possibly not - there are some instances whereby some html tags can be ommitted but I don't know what these instances are so I always include a correctly formed structure.

Legend
July 2, 2018

Not sure what you mean by 'final' <html> tag, that's the opening tag - the final tag is </html>, which you have.  I have no idea if you have an opening one as I cant see all the code.