The HTML code tag is used for indicating a piece of code. The code tag surrounds the code being marked up.