Hosted versus Local Resources
When you develop web-based applications, it's common to use resources from a CDN. The most commonly used resources from CDNs are libraries of code. It is usually a better option to host your library locally. You can get a speed and reliability advantage. Most CDNs are fast and reliable, but this is just one more DNS query and TCP connection to establish. You're better off with downloading your resource and then referencing its location on your server.
src attribute uses the URL of the remote file.