Thursday, 26 September 2013

How to display elements as such in html or Printing computer code

How to display elements as such in html (eg: computer code) :
<html>
<body>

The pre tag is good for displaying computer code:
<pre> for i = 1 to 10 print i next i </pre> </body> </html>

No comments:

Post a Comment