Generate and return HTML doctype declaration and meta tag