html Code Tag

In the <code> tag is a phrase element of html. which specify code for computer text.it example like this computer program, script etc. Basically in the <code> tag look likes are <samp>,<kbd>,<pre>,<var> tag.

All main browser supports the <em> tag. which tag standard attributes are class ,dir, id, lang, style, title and xml:lang and The event attributes are onclick,ondblclick, onmousedown, onmousemove, onmouseout ,onmouseover,onmouseup, onkeydown, onkeypress and onkeyup.

Syntax :

<code>...</code>

Example Code

<!DOCTYPE HTML>
<code> computer code text </code>

Out Put :



computer code text

In the above <code> tag have applied to computer code text.




Content