This article shows the steps to add the Content Editor web part to SharePoint online site.
Content editor web part is used to display your rich content and custom functionality.
Prerequisites create a trail Office 365 E3 license account.
Just follow the below steps,
Step 1
Go to the SharePoint admin center --> Active Sites, click create,
Add Content Editor Web Part To SharePoint Online
Step 2
Select "Other Options"
Add Content Editor Web Part To SharePoint Online
Step 3
Choose More Template from the dropdown
Add Content Editor Web Part To SharePoint Online
Step 4
Fill in the Title, web site address and add your admin name if your the admin add your name
Add Content Editor Web Part To SharePoint Online
Step 5
Now go to site contents --> Site Pages --> New --> Web part page
Add Content Editor Web Part To SharePoint Online
Step 6
Give your page a name, select the layout and destination as site pages
Add Content Editor Web Part To SharePoint Online
Step 7
Add Content Editor Web part
Add Content Editor Web Part To SharePoint Online
Step 8
Add your HTML file from Site Assets to the web part
Add Content Editor Web Part To SharePoint Online
Once added click "Stop Editing", your page is ready!!!
Add Content Editor Web Part To SharePoint Online