Revert "element ToHtml Method should be standard when it is selfclosing."

This reverts commit 809a31a1a8704326f911463e5f53b2059cd0e269.
element ToHtml Method should be standard when it is selfclosing.