HTML - Code format

The <code> tag allows you to format the text to make it be like old computer style. This offers a certain size and a certain distance specific to the computer code.

html<code>This text was formatted with the tag code.</code>

Demo

This text was formatted with the tag code.

This tag is used to write certain scripts such as these in this tutorial.

HTML- Code Links

Another use of the <code> tag is to give another appearance to the links.

html<p>This is an example of a <a href="http://www.google.com" title="Google"><code>link to Google</code></a> formatted with code tag.</p>

Demo

This is an example of a link to Google formatted with code tag.