How to preview HTML files?

[original thread by Ashok Bakthavathsalam]

F1 -> Preview