Title: Code Tags
Last modified: August 19, 2016

---

# Code Tags

 *  [ralph23](https://wordpress.org/support/users/ralph23/)
 * (@ralph23)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/code-tags-2/)
 * For some reason, my **code** tags aren’t working correctly. Anytime I use them
   on a snippet of code, the code is actually executed inside of it rather than 
   being displayed.
 * For example:
 *     ```
       <code><div style="background:red;">Stuff</div></code>
       ```
   
 * This should display in the post like this:
 *     ```
       <div style="background:red;">Stuff</div>
       ```
   
 * But instead it shows up like:
 *     ```
       Stuff
       (with a red background)
       ```
   
 * What should I do to fix this?
 * Thanks.

The topic ‘Code Tags’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [ralph23](https://wordpress.org/support/users/ralph23/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/code-tags-2/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
