Forum Discussion
AndreGuildus
Aug 08, 2025Copper Contributor
HTML Redenrization
Hi everyone! I need help rendering HTML in a SharePoint web part. I've tried several approaches, but they never get the results I need. The HTML file is saved in a documents folder within SharePo...
TechKooks
Aug 17, 2025Copper Contributor
you’ll want to check if the html/css you’re using is actually compatible with modern browsers — sharepoint tends to strip or change older markup.
a couple things that help:
- make sure you’re using html5 + modern css (not legacy tags/attributes).
- test the same code in a plain html file in edge/chrome to confirm if it’s sharepoint or the code itself.
- if you’ve got a lot of pages with the same issue, you can use pnp powershell to batch update or clean up the html/css across sites instead of doing it manually.
that usually clears up most rendering problems without needing a full rebuild.