How to convert plain text to html but keep the display format? -
i have 1 plain text program output, want display in html page. still want keep formats (like space/tab/enter , etc.), it's code block of stackoverflow, how can display in html ? thanks
use "pre" , "code" html tags:
<pre><code> code in here... </code></pre>
Comments
Post a Comment