Add Html Tags in JavaScript tutorial

 <!DOCTYPE html>

<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Add HTML Tags in JavaScript</title>
    <script>
        document.write("Hello World<br><br><br>");
        document.write("<i><b><h2>Hello from Hello World</h2></b></i>");
    </script>
</head>

<body>
    <h1>Hello World</h1>
</body>

</html>

Comments

Popular posts from this blog

Generators tutorial in Advance JavaScript

Document Object Module DOM querySelector and querySelectorAll tutorial in JavaScript

Find Even and Odd Numbers with Loops tutorial in JavaScript