DEV Community

Tushar Khairnar
Tushar Khairnar

Posted on

html5 blank template

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document Title</title>

    <!-- Option A: External script loaded in head (recommended with defer) -->
    <script src="script.js" defer></script>
</head>
<body>

    <!-- Your content goes here -->


    <!-- Option B: Inline script at the bottom of the body -->
    <script>
        // Your JavaScript code goes here
        console.log("Page loaded successfully!");
    </script>
</body>
</html>

Enter fullscreen mode Exit fullscreen mode

Top comments (0)