The following is a guide to adding a new text format in Drupal 7:

  1. Navigate to the Text formats page Administer » Configuration » Content authoring » Text formats (/admin/config/content/formats).
  2. Click Add Text Format (admin/config/content/formats/add).
  3. Enter the following information:
    • Name: The name of the format as it will appear in the administration interface.
    • Roles: Select one or more roles that will be able to use the format.
    • Enabled filters: Enable one or more filters. Note: As filters are selected, items are added to the Filter Processing Order and Filter Settings sections.
    • In the Filter processing order section, drag the four-headed arrow to rearrange the order in which the filters will be applied.
    • In the Filter settings section, specify the settings for the selected filters. Some filters do not have settings.
  4. Click Save Changes

WARNING: Some HTML markup should only be available to authenticated and trusted users. The PHP option should not be enabled unless it is necessary and care should be taken to limit access to a role representing trusted and knowledgeable users.