2

How can I run the html pages in the browser, because when I add a page with html extension, it downloads as if it were a document.

Thanks.

  • Are you referring to Modern Pages or Classic Pages? – ThinkB4Code Sep 19 '17 at 5:18
  • I mean html files – Fabio Valencia Sep 19 '17 at 14:29
  • 1
    No, that i understand that you want to render an HTML file. But where you want to render it? On a SharePoint Classic Page or Modern Page or directly using file URL? In case its classic page, you can use Content Editor Web Part and paste the URL to file in document library. In case you want to render directly, change the extension to aspx. For modern page, I am searching right now what are the possible ways. – ThinkB4Code Sep 20 '17 at 5:43
5

As a workaround try to rename yourhtmlpage.htm to yourhtmlpage.aspx then it will be displaying in the browser.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.