These tags are only for "decorational" purposes. Code within will still be executed. If you want it displayed you have to convert at least the <script>
tag to html:
<script type="text/javascript">
Then the JavaScript code inbetween will be shown.
You don't need both though, I would use <pre>
(which is per default a block element), <code>
is intended for inline use.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…