html: support hidden elements such as style and script