Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Which monospace font does a browser use?

There are 5 generic families that can be used: "serif", "sans-serif", "cursive", "fantasy", and "monospace". When a browser sees one of those, it asks the operating system for the default font in that family.

Thus, which font a web browser uses is OS-dependent.

See Mozilla's documentation on font-family for details.


  1. Use DevTools
  2. Select HTML element
  3. Search for "Rendered Fonts"

Demo

Tags:

Css

Fonts

Webfonts

Related

Can I pass a null pointer to memcmp? How to get 2D subarray from 2D array in JAVA? NSAttributedString background color and rounded corners Save file to specific folder with curl command How do i diff two files from the web How to get Name by string Value from a .NET resource (RESX) file Make DbDataReader start reading again from the beginning of the result set Accessing MVC's model property from Javascript Check if point is inside a custom mesh geometry Permission denied when creating new file on external storage How to find out number of files currently open by Java application? Reflection getAnnotations() returns null

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy