Html files are not as innocent as you think. They contain all sort of oddities.
script and iframe tags are known to be the source of all sort of malicious crap. Then there is
Code:
<style>#muh-element{font-size: 1000000000000000px}</style>
which will ruin a site’s layout.
In fact, I just got warned by WHT because I added angle brackets when mentioning script and iframe tags above so I removed them. Forgive me WHT I was just trying to make a point.
That aside, try github pages.