I'm programming a webpage and my friend wants a counter, but is it feasible to make a counter with html alone or would I need javascript or something? I really dunno...

Every hit counter does not display the code, so I have no clue unfortunatly

Any help would be greatly appreciated