Example of HTML computer output tags - HTML CSS HTML

HTML CSS examples for HTML:Text Format

Description

Example of HTML computer output tags

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html lang="en">
 <head> 
  <title>Example of HTML computer output tags</title> 
 </head> <!--from  w  ww . j  av a  2  s. c  om-->
 <body> 
  <p><code>Computer code</code></p> 
  <p><kbd>Keyboard input</kbd></p> 
  <p><samp>Sample text</samp></p> 
  <p><var>Computer variable</var></p> 
  <p><strong>Note:</strong> These tags are often used to represents a fragment of computer code.</p>   
 </body>
</html>

Related Tutorials