Embedding .HTML on a Sharepoint Page

Occasional Visitor

I'm trying to display a .HTML file using a sharepoint web part. Is there anyway to do this beyond hosting the .html file and embedding through an iframe?

1 Reply
In the classic way I think you can do this with the content editor webpart.
In modern I think you can do this with the SPFX Script editor webpart:
https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-script-editor

HTH!