adding doc type to htmls