Added support for HTML pages.