Element ToHtml method should be standard when it is selfclosing.

before ToHtml example:
<p><img src="xxx"></p>

after ToHtml example:
<p><img src="xxx"/></p>

I think now will better.