+ 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 ..

10th May 2020, 2:52 PM
Mahfazzalin Shawon Reza
Mahfazzalin Shawon Reza - avatar
3 odpowiedzi
+ 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
10th May 2020, 2:55 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 3
Thanks a lot
10th May 2020, 2:57 PM
Mahfazzalin Shawon Reza
Mahfazzalin Shawon Reza - avatar
+ 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>
12th May 2020, 8:29 AM
AjayGohil