EVO HTML to PDF Converter allows you to define a table of contents directly in HTML using a set of special attributes. You can set the attribute data-toc-item on a HTML element to enable the creation a table of contents entry for that element in PDF. Additionally you can specify the item level in table of contents with data-toc-level attribute and the bookmark title with data-toc-title attribute.
At the top of the demo you can choose the HTML document to convert which can be:

- HTML Page to Convert URL. The URL must be accessible from the computer where the converter runs. If the page requires authentication or if you are using a proxy server to access Internet then you have to set the converter properties accordingly as described in documentation
- HTML String with Table of Contents. When you convert a HTML string you also have the option to specify a base URL that will be used by converter to resolve the relative URLs found in the HTML string to fully qualified URLs. If your HTML string uses only fully qualified URLs then this parameter is not necessary