Support for `max_width` attribute to resize HTML to a maximum size