[exit example]
 
 \documentclass{article}
 
 \input TeX4ht.sty   \Preamble{html}
 \begin{document}    \EndPreamble
 
 \ConfigureEnv {flushright}
     {\HCode{<DIV ALIGN="RIGHT">}}
     {\HCode{</DIV>}}
     {\HCode{<H2>}} {\HCode{</H2>}}
 
 \begin{flushright}
 Psalms (131:1)
 \end{flushright}
 
 My heart is not haughty,
 nor mine eyes lofty:
 
 neither do  I exercise
 myself in great matters,
 or in  things too  high for me.
 
 \end{document}
[download source]
Non-simulated output:
mn-14.html

Psalms (131:1)

My heart is not haughty, nor mine eyes lofty:

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