Go to SharePoint Page and click onEDIT. Once in Edit mode, click on the INSERT tab and add a Web Part.
Under Categories, choose Media and Content.
Under Parts, choose Content Editor.
Click on the Add button.
Go to the Content that was added and click on the down arrow to open the pop-up window. Click on Edit Web Part.
Click on Click here to add new content
Type in your code then click on OK on lower-right part of window.
Save