The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Hi @sonal khatri,
Thank you for your reply.
I'm sorry I didn't understand your question before.
You can use this article to display your HTML document on a SharePoint page.How to add HTML code in SharePoint Online Modern Page?
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
But this approach isn't sustainable, as Microsoft will ban custom scripting by the end of 2024 because of the risk to tenants. Once a custom script is disabled, it will not be enabled.
We recommend using SPFx to rewrite your HTML documents. This method is officially recommended by Microsoft, but it may require you to take some time to learn SPFx, which is easier for you if you're a programmer.
Here I attach an introduction to SPFx: Overview of the SharePoint Framework.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
in the upper-left and choose Admin to open the Microsoft 365 admin center. (If you don't see the Admin tile, you don't have Microsoft 365 administrator permissions in your organization.)