In my Site Assets folder, I have a CSS file and an HTML file.

If I click the CSS file it opens a new tab and shows the file content, aka css code.

If I click the HTML file it downloads the file instead of showing it. And if I try to copy the URL and paste it into the URL, it says "File was not found"


I've made sure that the file is published. Why can't i view the html file?

Even if I click the ... and hit OPEN it still downloads.

Note The same problem counts for ASPX files.


1 Answer 1


Please use aspx file to instead of the html file.

Open the site using SharePoint designer, go to All Files->SiteAssets-> Add an aspx file. enter image description here

enter image description here

Or as a workaround, we can create a document library to store the the aspx pages.

  • 1
    Did you read my note? Note The same problem counts for ASPX files. Dec 6, 2017 at 10:13
  • Yes, I see your note, did you create aspx page following the steps in my reply?
    – LZ_MSFT
    Dec 7, 2017 at 1:24
  • 1
    Yes no matter how you create the aspx page it still downloads the page and not displaying it Dec 7, 2017 at 6:59
  • Please try to create a document library to store the aspx pages. The Site Assets only store CSS, JS files
    – LZ_MSFT
    Dec 7, 2017 at 7:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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