HTML code element defines a piece of programming code and support fixed letter size and spacing.
<code>Content</code>
Or
<tag><code>Content</code></tag>
You can apply code element to any element and use any where within a HTML document.
Code is a pair tag and output of code element is fixed text like you can see in above example.
Open notepad or any other text editor, follow the following points.
save file with name task.html or task.htm and then open it using any browser and see results.
Don't forget code is non empty element which means it always comes in pair.