Using different fonts


The 5 or 6 font families tells us to use in CSS are very limited, and my students want to use different fonts. Is there a list anywhere that is compatible with code? I’ve tried some on w3 schools, and some worked and some didn’t.


I’m not sure about a list, but I’m pretty sure they use the font families rather than specific fonts because it’s more compatible with the variety of machines that users work on. Some fonts just don’t exist on certain machines (look at the fantasy font family on a PC vs. a Mac - very different).