HTML fonts that will work independently of the OS?
source link: https://www.codesd.com/item/html-fonts-that-will-work-independently-of-the-os.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
HTML fonts that will work independently of the OS?
I've been making a website, but the only fonts I could get working were Monospace, Arial, and the default (Times New Roman?) I tried to find a font like this:
I tried: <body style="font-family:tahoma;">
, <body style="font-family:cabin;">
, and many others, but I couldn't find any fonts that would work. And the ones that did work all looked the same and were very ugly. Do you know of any fonts that would work regardless of operating system?
To get your font looks the same in all OS you'll better use a font from a font provider like Google Fonts for your case you can add this line in your header
<link href='http://fonts.googleapis.com/css?family=Lato&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
and after that try
<body style="font-family:Lato">
Related Articles
How do I make the layout that will work both on the tablet and the phone?
How to install and use a new font that will be used in the rails?
Get text that will be displayed to the html user
How do I get a Uri to an image in my assets that will work for the SearchManager.SUGGEST_COLUMN_ICON_1 column?
Is there a css or html element that will force the push content down a page?
What alternative to the BDE engine that will work with Paradox Table?
A function that will work with several elements
How do I place multiple html buttons that act as links on the same page?
How to use a variable in a class that will be independent of objects created in Python?
c ++: Is it possible to define overloaded operators in a derived class that will work objs base class type
zend framework php ErrorController: how to launch an exception that will be displayed in the error controller
View fonts that are not installed on the PC
Is there a date-time string format that will work in all major browsers (including the IE Quirks mode) when using javascript Date.parse ()?
How to set the layout that will work on 720p as well as 1080p screens?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK