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