In web development, a preferred list of font is put in font-family of CSS as following sample.
font-family: Roboto, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
I want to know which font is chose by browser to display the content. I know I can manual modify the font in font-family
one by one in browser developer tool and observe the changes of displayed content to identify the font used by browser. But it's too clumsy and require very sharp eyes T_T.
Anyone can know a better way? Thanks very much!
Add (download) Google chrome extension or Safari extension on your choice of web browser. Go to webpage where you want to find out the font and click on WhatFont extension. Hover over the webpage. You will find a floating box containing font ,you want to find out.
Chrome Developer tools can show you the exact rendered fonts for a given web page with just a few clicks. Right click on any element in the page and select Inspect. Next head over to the Computed tab, scroll down, and you'll quickly notice the rendered fonts for the page.
In firefox-developer-tools, Inspector > Fonts tab displays "Fonts used" by the currently inspected element. Edit fonts MDN
In google-chrome-devtools, Elements > Computed tab displays "rendered fonts" for the currently inspected element. "Even if its name isn’t in the font-family list." whats-that-font , Hackernoon
Firefox :-
Chrome :-
Thanks, @xuemind for suggested edit
In order if available.
In your example it'll go for Roboto first and keep the next ("Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif
) as back-up, if it's available.
Hi On mozilla firefox use Font Finder addon . It is the best addon which will provide u all the styles applying on your element.!
It works as I expect. After Font Finder installed, select the target text and choose [Font Finder>Analyze Selection] in context menu (right click). It will show the Font Being Rendered as following screenshot!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With