StatCounter User Forum  
StatCounter Free web tracker and counter

Go Back   StatCounter User Forum > StatCounter.com > Help

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 01-27-2008, 01:44 PM
loki512 loki512 is offline
Junior Member
 
Join Date: Jan 2008
Location: Zoetermeer, The Netherlands
Posts: 3
Default NET-enabling start-tag requires SHORTTAG YES

After putting the counter on my webpage I checked it with Markup Validation Service. And got this message: Line 165, Column 18: NET-enabling start-tag requires SHORTTAG YES.

resolution stats" /></a></div></noscript>

The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HMTL 4.01 Strict, the '/' terminates the tag <FOO (with an implied '>'). However, since many browsers don't interpret it this way, even in the presence of an HMTL 4.01 Strict DOCTYPE, it is best to avoid it completely in pure HTML documents and reserve its use solely for those written in XHTML.

This happens on all the pages I put the counter on. What can I do about it?

My username is loki512

Last edited by Arne; 10-15-2009 at 01:31 PM.
  #2  
Old 01-27-2008, 03:11 PM
Arne's Avatar
Arne Arne is offline
Moderator
 
Join Date: Sep 2004
Location: Lulea, Sweden
Posts: 4,006
Default

Quote:
Originally Posted by loki512 View Post
After putting the counter on my webpage I checked it with Markup Validation Service. And got this message: Line 165, Column 18: NET-enabling start-tag requires SHORTTAG YES.

resolution stats" /></a></div></noscript>
What you get is a warning, not an error from the validator. That slash ("/") sign is within for the image element in the <noscript> part. Javascript enabled browsers (most of them) don't "see" that. But if you like to clear even the warning, then just remove the slash.
  #3  
Old 01-27-2008, 04:23 PM
loki512 loki512 is offline
Junior Member
 
Join Date: Jan 2008
Location: Zoetermeer, The Netherlands
Posts: 3
Default Thanks

Thanks for you advice and solution.
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:19 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.