Is there easy way to parse a HTML page to find all the fonts used (or all the font stacks used)?
Or similarly, is there a script that parses a page and returns which CSS rules are included and used or included and are not used?
Examples:
If I parse index.html
, I want to know that 2 font stacks are used: font-family: Georgia, serif
and font-family: Arial, sans-serif
.
Or, if I parse index.html
, I want to know that lines 10, 12, and 15 of style.css
are used.
I imagine somewhere someone has created an app for this? Anyone know of anything?
See Question&Answers more detail:os