Here is a new proposal on how to include OpenPGP signatures in HTML documents and verify them from the browser itself:
https://dillo-browser.org/rfc/006-signatures-html/
It shouldn't be too hard to implement in #Dillo and offload the verification to an external program like GnuPG.
CC @tomasino