How? Well, now you that cdn's are basically proxy servers spread across the world. Using cdn if you serve your assets then your website speed will be improved. Your website takes a little longer time to download this assets as they are hosted on toronto based server. If a user from india is accessing your website. if they are hosted on your server they have to be downloaded through your server residing in toronto. When this users visit your page all assets you serve on your website for example: css, javascript, images etc. Your website is seen by many people across the world. You have a website hosted on a webserver. In above code, we added cdn url for jquery check out the following line in above html page.ĬDN known as content delivery network is basically proxy servers spread across the world.
Once you install jquery in your html code follow the jquery documentation to play with it.įollowing is a sample html page where we installed jquery library in our html page: JQuery basically comes with single javascript file that you can include in your html code. Using jquery you can perform following different operations:Įasy to modify and play with html elementsĮasy to make changes to css property of an elementĮasy to create plugins, form validation etc.
Without reinventing a wheel you have access to a library which is maintained by many developers you get the best. Jquery provides better way to interect with dom elements, it is easy to create animations, widgets and dynamic web segments using ajax. Lots of jquery plugins are available to use It has additional methods and ways to simplify javascript programming.įollowings are some of the advantages for jquery:
#How to include jquery in brackets text editor how to#
What is JQuery? How to include jquery in html?