[exit example]
 
 \documentclass{book}
 
 \input TeX4ht.sty
 \Preamble{html}   \begin{document}
 \EndPreamble
 
 \chapter{Psalms (131:1)}
 
 \tableofcontents[section]
 
 \section{My heart} is not
 haughty,  nor mine eyes lofty:
 
 \section{neither do}  I exercise
 myself in great matters,
 or in  things too  high for me.
 
 \end{document}
[download source]
Non-simulated output:
mn-24.html
 

Chapter 1 Psalms (131:1) 

   1.1 My heart
   1.2 neither do

1.1 My heart 

is not haughty, nor mine eyes lofty:

1.2 neither do 

I exercise myself in great matters, or in things too high for me.