+ 7
How can I write html,css,js,jquery in one page?????
I want to write html,css,js in one page... such as for javascript, we are use <script> tag ..
3 Answers
+ 1
This is the very basic template :))
<!DOCTYPE html>
<html>
<head>
<title>Title</title>
<script src="https://code.jquery.com/jquery-3.1.1.js"></script> <!-- Load jQuery -->
<style>
/* Your css codes */
</style>
</head>
<body>
<!-- Your HTML Codes -->
</body>
<script>
// Your jQuery or Javascript codes
</script>
</html
+ 3
Thanks a lot
+ 1
Hi,
You cam simply use css and jquery in single webpage.
In head tag you can load CDN of jquery and any other javascript. and In style tag you can use internal css. In script tag you can use jquery.
example:
<html>
<head>
<style type="text/css">
/* CSS goes here */
</style>
<script type="text/javascript" src=" ">
/* Load CDN*/
</script>
</head>
<body>
</body>
<script type="text/javascript">
/* Jquery code*/
</script>
</html>