Monday, October 7, 2013

Content Editor Web part in SharePoint

Content Editor Web part plays a great role in customizing page design in SharePoint.

Just navigate to the page where you want to modify the page,

Edit Page -> Select Web Part -> Media and Content Section -> Insert Content Editor web part

There are 3 ways to add a content to content editor:


  • Rich Text Editor
  • Source Editor
  • Content Link


Example:

Go to Source Editor, Add the following script.

<script type="text/javascript">
alert("Sample Script");
</script>

Note: The Content Editor Web Part does not accept the HTML FORM element.

No comments:

Post a Comment