I thought this was already possible in earlier versions of OS X but Yosemite seems to be missing the 'Web.qlgenerator' quick look plugin (or at least I am)
How do you enable .url quick look to see rendered html in Yosemite?
I found this question of someone who wants to disable the rendered html and have it show to source code instead, so it should be possible