What is the best way to display icons

Inline? I mean many times saw used with ul and lis but is general one? How you display fa icons inline mostly? Twitter Github Youtube :D? I know can also add with a div and inline every a tag? Or?


will you be upset if i give your the age old answer of ‘it depends’?

if you are using an icon in a sentence to train the reader on the textual meaning of a visual object then inline makes sense. you see this a lot in reference to video games: https://stellaris.paradoxwikis.com/Traits (just look at the first paragraph for an example).

are you designing a flexbox/section of cards where icons will be prominently placed center top with text underneath listing out services or features? then maybe block is more appropriate.