150
rated 0 times
[
151]
[
1]
/ answers: 1 / hits: 18828
/ 11 Years ago, fri, july 26, 2013, 12:00:00
I'm experimenting with the < pre> and < code> tags in html 5 as I would like to include some code snippets on my website. I'm using the page below as a test page but it is not displaying anything. Any reason why?
<body>
<div style=color:#000000>
<pre>
<code>
<script type=text/javascript>
$('#inputField').hide();
</script>
</code>
</pre>
</div>
</body>
It was my understanding that using these new tags would negate any code that they contain within however this does not appear to be the case.
Cheers,
J
More From » jquery