Utility methods for dealing with HTML.