Display simple html code in post

Try this. Paste your code in the “text editor” and UPDATE it without clicking the “visual editor”. See the preview of the post.