Automatically generated table of contents
I am trying to have auto-generated table of contents in HTML.
I take inputs in the page and as I take HTML page is updated so it can show the input it take
How can I do that without using JavaScript?