getHtml method implemented and tested, except remoteStyles TODO