HTML Computer Code

   There are different way to display the computer or programming related code in HTML. Following are some of the HTML tags which can use to display computer code.

HTML Computer Code Example:

<!DOCTYPE HTML>
<HTML>
<HEAD>
    <TITLE>Different Computer Output</TITLE>
</HEAD>
<BODY>
    <p>Following tag are used to display the Programming Code</p>
    <Code>Computer Code</code>
    <br>
    <kbd>Keyboard Input</kbd>
    <br>
    <samp>Sample Text</samp>
    <br>
    <var>Computer Variable</var>
</BODY>
</HTML>

Output :


   

Comments

Popular posts from this blog

Use of HTML Quotation, Blockquote and Cite.

HTMLRUN TechNEWS - 003 | Chrome, Google TEZ, Airtel