I am looking to add a codepen (http://codepen.io/) 'pens' into a site in my companies SharePoint.

When you create a new 'pen' in codepen, it gives you the option to embed the pen which ultimately gives you some HTML (note: not an iframe) but I want to simply add this into a page into SharePoint, but I am a little unsure how to do this, there doesnt seem to be a RAW HTML webpart (which would be great) that I can see.

How else could I do this?

  • There does exist a "RAW HTML" web part in SharePoint. It's called "HTML-Form Web Part". You can find it under the "Form" category when adding a web part.
    – user2536
    Jul 26, 2013 at 8:28

1 Answer 1


Ok, so it looks like codepen does allow iframe URLs, just not documented, so I used a page viewer web part and used the iFrame URL.

For those playing at home, this is the iframe URL format:


Your Answer

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

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