Explore 100's Of Free Video Tutorials

Keep Learning, Keep Coding & Keep Sharing

CSS

CSS font-family Vs. HTML font face

Notes:

CSS font-family property vs. HTML font tag face attribute:
It used to specify the font to be applied to the content of an HTML element
Values: specific font name (i.e. font face), specific font family name, generic font family name

Ex:
font-family : ‘Arial Black’;
font-family : ‘Arial Black’, Arial;
font-family : ‘Arial Black’, Arial, sans-serif;

Interview Questions: