\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}

