Tabs with URL

Show and hide tab content. On load match the tab content ID to the URL hash and display.

You can refresh and the last clicked tab will load up.

Example

Code