up

 \documentclass{book}
    \usepackage[html,2]{tex4ht}
 \begin{document}
 \chapter{...}  ......  \section{...}  ......  \section{...}  ......
 \chapter{...}  ......  \section{...}  ......
 \end{document}