Thread: TOC h2: h3
View Single Post
Old 09-29-2024, 03:50 PM   #8
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,615
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by foosion View Post
Doesn't that just put "My Heading" into the TOC?
Yes. Sorry. I missed the crux of your comment. Then I would use the title="" attribute for the full TOC entry.
PHP Code:
<h2 title="My Heading - My Sub heading">My Heading</h2>
<
class="chapterh2">My Sub heading</p
Quote:
Originally Posted by foosion View Post
Please explain or link the title="" property. As I mention above, when I search I just find <title>.
https://www.w3schools.com/tags/att_global_title.asp
Karellen is offline   Reply With Quote