Create html page with pyqt5

Hi all, I’m would create an html page which I would run using command “python -m http.server 7800” using pyqt5. is possible? if yes, there is the possibility to manage the options as “onButtonClicked” etc?

maybe someone has tutorials or examples?

many thanks

No, this is not possible. Qt is a framework to write local applications on your own computer, while HTTP is a client/server protocol, which needs a browser on the client side that is unaware of Qt. You can write a browser using Qt, but not serve HTML pages where the handling of client side actions is delegated to the server software.