Removing active class from tab

Once I navigate to another page from a home page, I want the tab that is active to look like in-active (unselected)