HTML CODE TAG EXAMPLE
Run
<!doctype html>
<html>
    <head>
        <title>
            HTML code tag Example
        </title>
        <style>
            code {
                background-color: #DDD;
                padding:4px;
                color: #6a67ce;
            }
        </style>
    </head>
    <body>
        <p>In HTML, we use the <code>&lt;script&gt;</code> tag to add JavaScript tag.</p>
        <p>In JavaScript, we can use the <code>getElementById()</code> function to refer to any HTML document with a given <code>id</code> attribute.</p>
        <p>In the text above, you can see the usage of <code>&lt;code&gt;</code> tag.</p>
    </body>
</html>