![]() |
| Home | Demo | Services | Features | Help | User Forum | Blog | About | |
|
#1
|
|||
|
|||
|
Hello,
First, let me apologise if this is already answered somewhere in the forum. I searched the forum & could not find this exact problem. I am in the process of cleaning up one of my sites, one page at a time. In the process I decided it might be nice to validate the html code. I used 4.0 transitional. I fixed all the errors except for one involving the <noscript> tag in the statcounter script. I went back & generated the W3C compliant code & that made no difference, the tag was still there. This is the output from the validator: Quote:
My URL is http://www.whitemud.us/index.htm & my counter code is: Code:
<script type="text/javascript" language="javascript"> <!-- var sc_project=359142; var sc_partition=1; //--> </script> <script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript>[img]http://c2.statcounter.com/counter.php?sc_project=359142&java=0[/img] </noscript> martin |
|
#2
|
|||
|
|||
|
I found the problem, you had some
, [b], and <span> tags around the <script> tag. This is not allowed and that is what the problem was. So simply delete those tags, otherwise I have included the code that I found was complient. By the way check out my site at: http://www.boombatower.com Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>White Mud Blues Band Chronicles: "Back In the Day"</title> <meta name="keywords" content="white mud blues band, crows nest, crows nest east, 1969, St. Clair Shores, Michigan, MI"> <meta name="description" content="White Mud Blues Band was a great musical experiment in the 1960s, now they're back for their 2005 reunion tour."> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta http-equiv="Content-Language" content="en-us"> </head> <body style="background-attachment: fixed; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); background-image: url(images/handprints_5c.jpg);"> <p align="center"><font size="4"> <a name="top_of_page"></a>[img]images/white_mud_logo_1a.gif[/img]</font></p> <p align="center"><font size="2" face="Arial Black"> <font color="#000000">White Mud, OK, so who are the band</font> MEMBERS<font color="#000000"> </font></font><font size="2" face="Arial Black" color="#000000">(in progress)</font></p> <p align="center"><font face="Arial Black" size="2" color="#000000">So what's their story?& </font> <font face="Arial Black" size="2">White Mud Chronicles:</font><font face="Arial Black" size="2" color="#000000"> The mostly true, historical annals of the beginning of The White Mud Blues Band (as told by Doctor Hormone)</font></p> <p align="center"> [img]images/new_bullet.gif[/img]<font face="Arial Black" size="2">Latest White Mud News at our blog</font> [img]http://feeds.feedburner.com/whitemud/Eutv.gif[/img] <a title="Subscribe to White Mud's Atom News Feed." href="atom.xml"> [img]images/xml.gif[/img]</a><font face="Arial Black"><font size="2">Subscribe to our Atom News Feed</font> [img]images/xml.gif[/img]</font></p> <p align="center"> [img]images/new_bullet.gif[/img]<font face="Arial Black">Check out our new "<a title="Get ready for the 2005 Reunion with the White Mud Mascot Concert Video" href="http://www.bigdaddysstudio.com/white%20mudd.mpg">White Mud Mascot Concert Video</a>" <font size="2">Created by Big Daddy Al Foyt - visit his site http://www.bigdaddysstudio.com </font></font></p> <p align="center"> [img]images/new_bullet.gif[/img]<font face="Arial Black"><a title="Get the latest Battle Plans at White Mud Central Command Headquartes!!" href="reunion_2005_central_command_headquarters.htm">Central Command Headquarters</a> for 2005 Reunion Tour& [img]images/war_room_thumb_1a.jpg[/img]</font></p> <p align="center"> <font face="Arial Black" size="2"><a title="Jump over to The Doctor's site for the second chapter!" target="_blank" href="http://www.doctorhormone.com/white_mud_the_next_story___.htm">Did White Mud Burn Old Dixie Down?</a><font color="#000000"> - Doctor Hormone's next chapter in the continuing saga</font></font></p> <p align="center"><font face="Arial Black" size="2"> <a title="Some of the guys go to an Ice Festival" href="nasty_beer.htm">Nastiest Cold Beer Ever</a><font color="#000000"> - The guys take a trip to the Ice Festival (in progress)</font></font></p> <p align="center"><font size="2" face="Arial Black"> <a title="See if they get their butts kicked" href="hellsgang.htm">Gang banger</a></font><font size="2" face="Arial Black" color="#000000"> buddies - Chief narrowly avoids one of those 60's Hippy ass kickings</font></p> <p align="center"> <font face="Arial Black" size="2" color="#000000"> What's the deal with these handprints?</font></p> <p align="center"><font face="Arial Black" size="2" color="#000000"> &White Mud goes to the swimming hole</font></p> <p align="center"> <font face="Arial Black" size="2" color="#000000"> &Sign our guestbook & let us know you were here</font></p> <p align="center"><font face="Arial Black" size="2" color="#000000"> White Mud Posse Visits Romeo - the day the little town trembled at the hands of 150 lunatics</font></p> <p align="center"><font face="Arial Black" size="2">Who put the cream in the coffee?& - Cecil wanted his black (in progress)</font></p> <p align="center"><font face="Arial Black" size="2">White Mudstock - ok, so we didn't compete with Woodstock but I bet it was as much fun! (in progress)</font></p> <p align="center"> <font size="2" face="Arial Black"><a title="Check out the WMBB Disccussion Group @ Yahoo!" target="_blank" href="http://launch.groups.yahoo.com/group/whitemudbluesband/">Join the White Mud Discussion Group</a></font><font size="2" face="Arial Black" color="#000000"> - chat, upload or download old pictures, or just read the crap that's there!</font></p> <p align="center"><font face="Arial Black" size="2">Crows Nest - Mind Altering Stuff, Sex, Antics and Achievements& (in progress)</font></p> <p align="center"><font face="Arial Black" size="2">White Mud Memorials - Some are dead and some are living, in my life I love them all& (in progress)</font></p> <p align="center"><font face="Arial Black" size="2"> Links<font color="#000000"> to some of our </font>favorite<font color="#000000"> sites</font></font></p> <p align="center"><font face="Arial Black" size="2"> &WMBB Media Page (Music & more)</font></p> <p align="center"><font face="Arial Black" size="2" color="#000000"> Search This Site</font></p> <p align="center"><font face="Arial Black" size="2"> <a title="Check out the WMBB Disccussion Group @ Yahoo!" target="_blank" href="http://launch.groups.yahoo.com/group/whitemudbluesband/join"><font color="#000000">[img]http://us.i1.yimg.com/us.yimg.com/i/yg/img/ui/join.gif[/img]</font> Click to join the White Mud Blues Band Discussion Group</a></font></p> <p align="center">&</p> <span style="font-family: Arial Black;"><font size="2"><a name="intro_story"> </a>White Mud Blues Band started by chance and soon became an experiment in alternative music before the word was even coined.& In the late 1960s, in Saint Clair Shores, Michigan the time was right for something totally new.</font></span></p> <span style="font-family: Arial Black;"><font size="2">The concept of "Super Groups" was sweeping the country.& The war in Viet Nam was raging.& Woodstock, The Isle of Wight Festival, Strawberry Fields, Goose Lake and many other super festivals were planned and happening around the world.& The MC5 were pushing the local morality laws and the local cops to the limit.& Iggy Pop and the Psychedelic Stooges were introducing local fans to a new type of sound that some called noise.& Long haired hippies were having "Love Ins" on Plum Street in downtown Detroit and around the state.& The Motor City was becoming known for more than cars and Motown Records.& As I said, "the time was right for something totally new".</font></span></p> <p align="left"><font size="2"><span style="font-family: Arial Black;">In the Detroit suburb of Saint Clair Shores, The Crow's Nest East was a happening place to see popular bands play.& What better place could there be for a bunch of young musicians from local bands to hang out?& None, especially if you take in to account that the young musicians needed to earn money to support their music and other assorted habits.& They all got jobs at The Crow's Nest fixing up the club and selling tickets.& Now the stage is set for a meeting of young musicians in what would be called a True Spontaneous Cosmic Occurrence.& &&& </span><font face="Arial">(Click on the link to read the next chapter in the continuing saga.)</font></font></p> <p align="center"><span style="font-family: Arial Black;"><font size="2">& ^ Back to Top ^</font></span></p> <p align="center"><span style="font-family: Arial Black; font-weight: 700;"> This is the Official Website for The White Mud Blues Band.</span></p> <p align="center"><font face="Arial Black"> Contact Us</font></p> <script language="javascript" type="text/javascript" src="http://ss.webring.com/navbar?f=j;y=martin_uboo;u=defurl"> </script> <noscript><center> <table bgcolor=gray cellspacing=0 border=2><tr> <td><table cellpadding=2 cellspacing=0 border=0><tr><td align=center> <font face=arial size=-1>This site is a member of WebRing. To browse visit <a href="http://ss.webring.com/navbar?f=l;y=martin_uboo;u=defurl"> Here</a>.</font></td></tr></table></td></tr></table> </center></noscript> <p align="center">&</p> <script type="text/javascript" language="javascript"> <!-- var sc_project=359142; var sc_partition=1; //--> </script> <script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script> <noscript>[img]http://c2.statcounter.com/counter.php?sc_project=359142&java=0[/img] </noscript> <p align="center">&</p> <p align="center"><font size="1"> Home | blog | Contact Us | Search</font></p> <p align="center"><font size="1">© 2004 White Mud Blues Band & White Mud, Inc. (updated by: MP 10/13/2004 09:35 -0400)</font></p> </body> </html> |
|
#3
|
|||
|
|||
|
Thanks boombatower for your help. Unfortunately, it doesn't work. I had searched for this situation via Google & found similar fixes in posts to other forums & they didn't work either. Those posts mentioned that the error message is a by product of another problem like you described.
I removed the <p align="center"> tag before the script & still got the same error. I tried to copy & paste the code you posted above & validate that code, but, the copying must have changed some of the punctuation & caused a lot more errors, but the noscript error was still there. Any other ideas? I looked at your site & it looks remarkably similar to statcounter.....any connection? |
|
#4
|
||||
|
||||
|
I think the problem is because your code contained in <nsocript> & </noscript> tags is broken over several lines, like this:
Code:
<NOSCRIPT>[img]White Mud Blues Band Chronicles Back In the Day_files/counter.gif[/img] </NOSCRIPT> Code:
<NOSCRIPT>[img]White Mud Blues Band Chronicles Back In the Day_files/counter.gif[/img] </NOSCRIPT>
__________________
Christina >>Forum Moderator<< Please do not PM me for support. The forum is here for that. |
|
#5
|
|||
|
|||
|
Thanks chrisooc for your reply. I did have the line break problem when I first started to validate this page, I cleaned them up a while back. When I look at the current source code, I do not see any line breaks. Did you see line breaks?
I researched this problem extensively on the internet prior to my posting here and found a few forums with posts on similar problems. These other problem posts were similar, but not exactly like mine. They all had something to do with formatting tags in &/or around javascripts. I have tried every combination I could think of before I posted here. To make it even more confusing, I made a test page with nothing but the statcounter script & it validates OK: http://www.whitemud.us/index_test_script.htm (of course, as soon as I try to center the image, it fails with the same error). When I make the script coding/formatting on my real page identical to the test page, it doesn't center or validate. Any other suggestions? |
|
#6
|
||||
|
||||
|
Yes, stop fretting over that silly W3C validation program, you'll age prematurely
When I saved your page on my pc it had line breaks inside the <noscript>...</noscript> tag. I don't think those appeared out of the blue. Other pages I save from the web preserve the actual code and line breaks (or lack thereof). But do take out the code from within the scope of any special formatting tags and place it simply at the bottom before </body>. Better yet, generate the code again with the W3C option. Use a to force it to a new line if you have to. Mind the line breaks. Edit using Notepad with no Word Wrap to make sure. Once that validates, you experiment with some simple formatting tags. I like to use <center> ... </center> but I fear that's going to send the W3C validator into a spin again (silly buggers
__________________
Christina >>Forum Moderator<< Please do not PM me for support. The forum is here for that. |
|
#7
|
|||
|
|||
|
Thanks again for your reply chrisooc.
I looked again at the source code with notepad & there aren't any line breaks in the script/noscript section (except for the ones that statcounter puts in). I did generate new W3C code when I first ran into the validation problem. The funny thing is, I have never really tried to be W3C valid before because it doesn't like a bunch of attributes FrontPage adds for hovers & image swapping. But this site is like a "Hobby Site" for me & I really don't get serious about anything...if you read anything while you were there, you know what I mean (although statcounter just told me you only looked at the index.htm page). Then I heard that for SEO purposes, the SEs like valid html, so I thought, OK...I'll try it out on White Mud's site. So here I am....I'm one of these people that will not give up something even if it is kinda silly. Thanks for the input & I'll keep trying things until I find the answer. I know it's something silly.....I hate to give up the statcounter graphic for their great free service, but I think the invisible script I used on other pages validates, I have to check that again. |
|
#8
|
|||
|
|||
|
Well, FYI. I just generated new W3C compliant code (invisible) & it put at the very bottom of the code without any line breaks, no formating tags & it still won't validate.......this is making me crazy. It has to be some sort of code interaction, since a blank page with only the script & the a little text validates.
I'm going to try to ask support to look at this thread & see if they have any ideas. Thanks again for all your help....anybody else have a suggestion? |
|
#9
|
||||
|
||||
|
LOL, no, I didn't read anything really except some of the code. Isn't Statcounter terrific? See, you know exactly where I surfed (or not) on your site.
From what I've seen FrontPage is pretty horrible when it comes to whatever html code it generates and even worse if you publish directly to the web from it. I guess most WYSIWYG editors have the potential to mess up the code unless you constantly verify things in code view mode. I use Dreamweaver (because it numbers the lines of code for me I also do this just as a hobby, so I'm not overly stressed by W3C compliance or lack thereof, SEO & PR be damned I've not bothered to render my stuff W3C compliant after finding out it complains about even a practically blank page with a dot in the middle
__________________
Christina >>Forum Moderator<< Please do not PM me for support. The forum is here for that. |
|
#10
|
|||
|
|||
|
I said not to just take out the <p align="center"> but the rest of the tags surrounding the <script> and <nonscript> tags. When I tested it through W3C varification it worked so I know my code is perfectly fine.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|