computer code text


<code>

Browser
Internet Explorer Firefox Opera
Type
Inline

The CODE element defines computer code text.


<code>computer code</code>


Example

<p>Normal text, <code>Computer code,</code> Normal text,</p>
Output

Normal text, Computer code, Normal text,


<pre><code>
function PopTag() { 

	if (!document.getElementById) {

		alert("Hello");
		return;

	}

}
</code></pre>
Output

function PopTag() { 

	if (!document.getElementById) {

		alert("Hello");
		return;

	}

}