show text in html code example
Example 1: html show html code as text
<script type="text/html">
<h1>Hello World</h1>
<ul>
<li>Enjoy this dodgy hack,
<li>or don't!
</ul>
</script>
Example 2: html show html code as text
<pre class="line-numbers">
<code class="language-css">
p { color: red }
</code>
</pre>
Example 3: html bold
<!--Emphasized bold text. It's for content that is of greater importance-->
<strong>I'm a content</strong>
<!--Bold text. It's used to draw attention to text without indicating that it's more important-->
<b>I'm another content</b>
Example 4: insert text html
<object height=20 width=75 type='text/plain' border=0 data="URL/filename.txt"></object>