Code

code  Code  

[code]if (node.attributes[i].nodeValue != null) str += &#039; &#039; + node.attributes[i].nodeName + &#039;=&quot;&#039; + node.attributes[i].nodeValue + &#039;&quot;&#039;;[/code]  The code tag outputs code directly with simple formatting. Any BB Codes, html, php, javascript, c++, or any other text will be outputted exactly the same. The box will scroll for long lines so that the line breaks are preserved at the correct places, which is important in many languages. This is a block level tag. : 

&#91;code&#93;&lt;?php echo &quot;Hello world!&quot;; ?&gt;&#91;/code&#93;  If php code is placed inside, with the initial &lt;?php tag, then it will be color formated according to php syntax. : 