0

I have been trying to get HTML inserted into my webpage via sharepoint, as opposed to hard coding it in the layout page (for obvious reasons..).

I have tried using the Content Editor and entering the HTML, but it continuously displays the raw code as opposed to rending the HTML as I thought it would have.

Attached is a screenshot of the outcome. Is it that I'm missing a step or am I using the wrong approach to get this done?

enter image description here

1 Answer 1

2

Edit the content editor webpart and select "Edit Source" option from the ribbon.

Put your HTML there and save the page.

if you are using SharePoint 2013 you can use a Script Editor web part instead and put your HTML in that webpart

3
  • 1
    This it, please mark the question as answered
    – Red
    Aug 17, 2016 at 14:39
  • Only the person asking the question can mark the question as answered
    – HarryB
    Aug 17, 2016 at 14:41
  • That is it indeed. The Script Editor works perfectly. Much respect! Aug 17, 2016 at 14:51

Your Answer

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

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