text – Issue with putting IfModule code on page

I am attempting to write a guide on my WordPress site however I am facing an issue with text even if it’s inside [code] brackets

<IfModule mod_deflate.c>
OPTIONS
</IfModule>

However on the webpage it shows up looking like

OPTIONS

What is the work around to this?