Instead of using a Formatted Text and Image part, use an Unformatted Text part. To add this part:
  1. Navigate to Site Explorer>Parts
  2. Click New Part
  3. For Part type, select Unformatted Text
  4. Enter a Part name
  5. Click Next
  6. In the new window, under the Design tab, enter your code
  7. Click Save
7.1.187 +
As of NetCommunity 7.1.187.0 the new Tiny MCE text editor has been further integrated into NetCommunity and is now in use in most parts.
This new editor promotes the use of structured HTML.

When adding content using an FTI part, the WYSIWYG editor will automatically generate the source code based on proper HTML structure:
 
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>

In order to add a script using an FTI  part, it must be added between the "<head> </head>" tags while directly editing the Source:
 
<!DOCTYPE html>
<html>
<head>

<script>SCRIPTS MUST BE PLACED BETWEEN THE HEAD TAGS</script>

</head>
<body>

HTML and CSS CAN BE PLACED HERE IF YOU ARE DIRECTLY EDITING THE SOURCE

</body>
</html>

If the "<script> </script>" tags are not added between the "<head> </head>" tags, the scripts will be removed from the FTI part upon saving.

Note: even though you can add custom code to an FTI part, we recommend it be added in an Unformatted Text Part instead, especially if it includes scripts.