Using Outline View to Create a Table of Contents. • Method 3. It uses the same colour as my post links. Syntax¶ By default, all headers will automatically have unique id attributes generated based upon the text of the header. A table of content is a list of all the parts present in a book; it should be always headed simply as contents or TOC to guide the book user. When you add multiple internal links linked to subtopics in your article, it forms Table of Contents. Below, you can see a sample HTML
with some headings and subheadings. Lesson 3: Elements and tags? The following example shows how you can assign an “id” to any heading tags in your page. 1. Representing Code; 6. And, here’s the HTML code of the TOC, inside a