Different approaches can be used to integrate FontAwesome into a website:
For plain HTML/CSS:
/css/font-awesome.css
in the webpage head
like so:<link rel="stylesheet" src="/assets/font-awesome/css/font-awesome.css">
head
using a CDN address. One such address would be https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css
. To reference this, just use a link
tag but set the source to the CDN address insteadFor Package managers:
Most package managers support Font Awesome as a package, and there are some examples below:
Font-Awesome
, or run the below command in the package console:
Install-Package FontAwesome
gem install font-awesome-rails
npm install font-awesome