Now that you have some idea of the power of Font Awesome, and how Font Awesome works, you may be wondering, how do I add Font Awesome to my website? Font Awesome utilizes one of the most popular ways to deliver resources on the internet today: a Content Delivery Network, or CDN.
Again, let us see what Wikipedia has to say:
A content delivery network or content distribution network (CDN) is a globally distributed network of proxy servers deployed in multiple data centers. The goal of a CDN is to serve content to end-users with high availability and high performance. CDNs serve a large fraction of the Internet content today, including web objects (text, graphics and scripts), downloadable objects (media files, software, documents), applications (e-commerce, portals), live streaming media, on-demand streaming media, and social networks.
Rather than having all your resources located at one computer, a CDN uses aetwork of geographically dispersed servers. This provides several advantages:
Here is the code needed to add Font Awesome to your website:
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
This is similar to the external fonts were studied several weeks ago.
Another great feature of using a CDN is this: you do not need to update your website with differnet maintenance versions of the resource you are using. As the web browser is always loading resource, you are not responsible for maintaining these resources directly.
Visit the Font Awesome CDN
Wayne Joness
West Los Angeles College, cs952
Fall