Programming Tips - Fontawesome: smallest size for website

Date: 2020mar24
Language: html

Q.  Fontawesome: smallest size for website

If you are only using solid icons you can get away with this:

<link type='text/css' href='css/fa-solid.min.css' rel='stylesheet'> <link type='text/css' href='css/fontawesome.min.css' rel='stylesheet'>
To use link this:
<h2><span class='fa fa-home'></span> Home</h2> <h2><span class='fa fa-info-circle'></span> About</h2>
Then you'll need files:
css/fa-solid.min.css css/fontawesome.min.css webfonts/fa-solid-900.woff (For IE) webfonts/fa-solid-900.woff2 (For modern browsers)
For a total size of 151KB