HTML Code.. what do i include?

Discussion in 'Web Design and Development' started by mtfield, Jul 14, 2008.

  1. mtfield macrumors 6502

    Jan 9, 2008
    I'm working on revamping my website, and I'm adding a web app that I found. The instructions told me to copy the code (below) and paste it into my html box on my website. My question is do I leave in the top and bottom line about "<!-- Start/end of StatCounter Code -->" or should i just copy the text in between? thanks!

    <!-- Start of StatCounter Code -->
    <script type="text/javascript">
    var sc_project=3861419;
    var sc_invisible=1;
    var sc_partition=31;
    var sc_click_stat=1;
    var sc_security="24c52494";

    <script type="text/javascript" src=""></script><noscript><div class="statcounter"><a href="" target="_blank"><img class="statcounter" src="" alt="website hit counter" ></a></div></noscript>
    <!-- End of StatCounter Code -->
  2. EvanLugh macrumors 68000


    Aug 29, 2007
    Developer land
    They're basically telling you what its purpose is. You can keep or remove, won't affect the outcome.
  3. angelwatt Moderator emeritus


    Aug 16, 2005
    The <!-- .... --> are just HTML comments and do no have any effect on your layout. You may want to keep them just so it's easier to identify that code later down the road when you're reworking the code. You'd be surprised how easy it is to forget what some piece of code is for.

Share This Page