Working withTable of Contents on Your Web PageAdding Table ofContents to Your Web PageFor an html document having different sections, e.g. an articlewith sections and subsections and headings for each section andsubsection, it becomes difficult to navigate if all the text is in asingle file. To enable easy navigation of different sections, a Tableof Contents (TOC) can be generated easily with KompoZer. To generate a TOCfor an html document:
Use the html heading tags (h1, h2, h3, h4, h5, and h6) to label different levels of sections and subsections in the document. And save the document. Click on Insert > Table of Contents and choose "Insert". The TOC window will appear. Select the levels of headings used for differet sections and subsections in the document. Click "OK" to build the TOC.The TOC generated by default shows all entries as numbered and theyare anchored links to respective sections. Unchecking the "Number allentries in table of contents" checkbox results in bulleted sectionentries. And checking "Make the table of contents read only" resultsin sections being simple text without anchors.
[ Return tobeginning of section ]
Updating or RemovingTable of ContentsIn case the document is changed to add more sections or subsectionsafter building the TOC, it will not contain the new sections orsubsections. To add the newly added sections and subsections, click on"Insert", then "Table of Contents" and choose "Update". The TOC willbe updated to show the new entries.
To remove the TOC altogether, click on "Insert", then "Table ofContents" and choose "Remove". The TOC will be removed the html sourcewill be cleaned automatically of any code added when TOC built.
[ Return tobeginning of section ]
[