Thread: TOC h2: h3
View Single Post
Old 09-29-2024, 03:35 PM   #7
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by Karellen View Post
I normally use...

PHP Code:
<h2>My Heading</h2>
<
class="chapterh2">My Sub heading</p
That way I can style the sub heading separately to the main heading

For your second question, use the title="" property

PHP Code:
<h2 title="1 - Title">Chapter 1 Big Title</h2
Doesn't that just put "My Heading" into the TOC?

Please explain or link the title="" property. As I mention above, when I search I just find <title>.
foosion is offline   Reply With Quote