How To Write HTML CSS and Javascript Together In Single Page

How To Write HTML CSS and Javascript Together In Single Page

You have to be able to manage these html, css and javascript codes in order to manage them in a single page. In standard practice, HTML, CSS and Javascript files have different extensions. They are created in separate files and connected using the HTML attribute <link>. 

But, to write HTML, CSS and JavaScript together in a single page, you can follow the sample given below.


 <html>
<head>
    <style type="text/css">
        /* CSS goes here */
    </style>
    <script type="text/javascript">
        /* Javascript goes here */
    </script>
</head>
<body>
</body>
</html>

Comments

I Love Your COMMENTS ..............................

Archive

Contact Form

Send