Post Page Advertisement [Top]


   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 :


   

No comments:

Post a Comment

Bottom Ad [Post Page]