Table Of Contents

By Rayyan FaarisRayyan Faaris


A Table Of Contents is a block which can be put so that you can skip between chapters or headings without scrolling down to your favourite chapter or place.A Table Of Contents can be written in CSS as:


But now after you put this nothing happens as your Table Of Contents is empty, to fix this, put some headings and now you're ready!


I am Rayyan Faaris and I am cool :)

About Me

I like to make videos and code. My YouTube channel is Dr. ELECTRON, please subscribe and like this snippet! Hope you like it!

Thanks to tsangk for this great snippet: conditional-blocks

text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]

Other snippets posted by Rayyan Faaris

How to use a Tag - 15 Apr 2022 07:44
Links - 15 Apr 2022 02:08
Headings - 14 Apr 2022 22:46

Rate this solution

If you think this solution is useful — rate it up!

rating: +4+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License