Sometimes, there are requirements that your html table header should be floating and should not scroll off the screen. This article shows an easy way to implement this feature with little modification in your existing code.