I am writing one article on Blogger, There I am unable to format code. The code I am writing is looking like simple text. 
The site name <https://www.blogger.com/>
I am using `<div class="yourClassName"> code here </div>` tag to show formatted code, which is giving below output

Using:

[![enter image description here](https://i.stack.imgur.com/Y807R.png)](https://i.stack.imgur.com/Y807R.png) 

output: 
[![enter image description here](https://i.stack.imgur.com/ADPdN.png)](https://i.stack.imgur.com/ADPdN.png)

How can I show code in proper way