Reputation: 71
I can add custom type by google fonts, and by including directly from server(here I use css). How can I includ directly fonts from server by only HTML? I need to include this by HTML because the last version of Internet Explorer can't load fonts by CSS. When I use just google fonts IE don't display my special polish characters.
Google fonts
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
CSS
@font-face {
font-family: 'Open Sans';
src: url(fonts/opensans-regular-webfont.eot);
src: local('Open Sans'), url(fonts/OpenSans-Regular.ttf) format("truetype")
}
Upvotes: 0
Views: 390
Reputation: 157404
How can I includ directly fonts from server by only HTML? <-- Can't get this quietly than too..
You should declare multiple fonts as a fallback, for example
p {
font-family: 'Open Sans', Arial;
}
This way, if the Open Sans
fails to load, it will look for Arial
Upvotes: 1