I have wondered many times.
Of course I can always use a browser but it’s overkill.
The same goes for yad or zenity, they pull in webkit which is a full-fledged browser engine, and at least yad does not have an offline mode.
I just want to look at some local HTML (incl. images) & CSS styling.
Netsurf uses GTK, it’s own html 5, css 2 engine and the install size is 6mb not including gtk.
https://packages.debian.org/bookworm/netsurf-gtk
https://www.netsurf-browser.org/