I was kinda surprised suckless surf doesn't have this feature.
It's a surprisingly frequently asked [1] question and a straightforward way to render HTML. [1]: see https://unix.stackexchange.com/questions/24931/, https://stackoverflow.com/questions/3591167/, and https://superuser.com/questions/526327