How to post code in nice boxes?

I have a programming questiuon but when I upload my code in the brackets the code button provides it comes up as regular text. How do I post code neatly and properly?

Sign In or Register to comment.