Contents Table is a JavaScript object that creates a Table of Contents based on classes that you assign to desired HTML Tags. Clicking on a Table of Contents link scrolls to the anchor.