Code Tags
-
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.