HTML Dog

Skip to navigation

HTML Tag: noscript

A section that is only enabled if scripting is unsupported or disabled.

If used inside a head element, noscript should only contain link, style, and meta elements.

Optional Attributes

Global attributes

Example


<!DOCTYPE html>

<html lang="en">

<head>
    <script src="fancyFancy.js"></script>
    <noscript>
        <link href="aHaHaHaHaHaHaEvilLaugh.css" rel="stylesheet">
    </noscript>
</head>

<body>

<p>Hi. You look nice.</p>

<noscript>
    <p>Ha! Lies! You do not look nice.</p>
    <p>We are <strong>alien Mars aliens from Mars</strong>.</p>
    <p>We come to your planet to destroy you.</p>
    <p>We will destroy you by means of static HTML.</p>
    <p>You will be distracted by fancy fancy JavaScript.</p>
    <p>While you are distracted by fancy fancy JavaScript we will destroy you.</p>
    <p>Aaaaaaaaahahahahahahaha!</p>
</noscript>

</body>

</html>