Is there any way to embed HTML in the css content: element when using a :before pseudo-element?
I want to use a Font Awesome (or Glyphicon)
The accepted answer (as of 2019 JULY 29) is only still valid if you have not started using the more recent SVG-with-JS approach of FontAwesome. In which case you need to follow the instructions on their CSS Pseudo-Elements HowTo. Basically there are three things to watch out for: