table of contents of an html5 document

 

 

 

 

So youre publishing a long document online and dont have an easy mechanism to automatically add a table of contents on the server side? Well with JavaScript, you enslave the web browser to do it instead! markup language that specifies the structure and content of documents that are displayed in web browsers. We introduce some basics, then cover more sophisticated HTML5 techniques such as: tables, which are particularly useful for structuring information from databases (i.e EDIT: Is there a way to display a linked outline of an HTML document without explicitly writing it?I mean to ask how can we display a table of contents in the document without explicitly writing it, like /tableofcontents in TeX, and, if there is no way (without javascript) will browsers eventually offer a way? Structure of a Document in HTML 4. Problems Solved by HTML5.For that purpose, HTML5 introduces three specific sections elements: