<code>

Description

<code> causes text to be displayed in a monospaced font and is usually applied to code samples.

Example


<html>
<body>
     <p>
          This is a<!--from   w  ww.j  a v  a2s.c  o  m-->
          <code>code</code>
          .
     </p>
</body>
</html>

Click to view the demo

The code above generates the following result.

code




















Home »
  HTML CSS »
    HTML CSS Reference »




HTML Tag Reference
CSS Reference
CSS Selector Reference
Encoding Reference