Improve html content sniffing

Check existence of the `<` character seems too loose. I think most html outputs should start with a doctype, tag or comment.