how to make table header fixed while scrolling in html code example
Example: html table scrollable body fixed header
/*Simply*/ position:sticky; top: 0; /*your th elements*/
/*Simply*/ position:sticky; top: 0; /*your th elements*/