Code tag is used for indicating a source code of programming language. This code represent any variable name, type of variable, a filename, a computer program, or any type of code that computer would recognize. This tag is best used for short piece of code because it does not preserve white space.
class=class names id=specify unique id style="style information >
HTML5 Event Attributes
Show programming syntax using code tag
Working with cite tag in HTML5