クライアントが自分のWebサイトで「このきれいなAAAフォント」を望んでいることがよくあります。 以前は、ほとんどの場合、カスタムフォントまたは同じ
@ font-faceを操作するためのさまざまなライブラリが登場するまで利用できませんでした。
sIFR 、
cufonなどのソリューションもありますが、提案された方法ほどエレガントではない場合があります。 私たちが良くなることはありません
ホリバー 。
また、@ font-faceを使用すると、フォントなどのライセンスに問題が発生する可能性があります。
むかしむかし、ほとんどのサイトビルダーは写真を使用していました(そして今でも気づかれています)。 当時は時々、サイトをすばやく読み込むために写真をあきらめなければなりませんでした(そのため、インターネットの速度は現在と同じではなかったため)。 しかし、このフォントや「きれいな」フォントを使用しないほうが良い理由を顧客に説明することは非常に困難です。 はい、これは実際にはないはずです!
どのオプションが最適ですか?
一般的に、誰もが独自の方法でカスタムフォントを導入することで生じた問題を解決(解決)します。 誰かがそれらを気に入っており、おそらく誰かがレーキを踏んでいます。
したがって、素晴らしいサービスであるGoogle Font APIを検討する(そして誰かに思い出させる)価値があります。 すぐに警告します:これは万能薬ではなく、すべての問題の解決策ではありませんが、現在使用/使用しているすべてのものに対する優れた代替手段です。
Google Font APIを使用すると、他のほとんどのツールと同じように、WebページにWebフォントを埋め込むことができます。 利点は何ですか?
Google Font APIには次が含まれます。
- 高品質のオープンソースフォントの選択。
- ほとんどのブラウザで動作します(すべてではありません)。
- 非常に使いやすい。
- すべてがGoogleでホストされているため、帯域幅が節約されます。
- これらはインターネット上の同じ場所にあるため、Webブラウザーは他のサイト用にキャッシュし、一度だけダウンロードします。
短所:
- それでも、不完全なブラウザーサポート(たとえば、Firefox 3.6.13 Ubuntu!)
- キリル文字フォントの数が非常に少ない(すぐにさらに多くのフォントが追加される可能性があります)
少数については、独自のフォント
を追加する
ことができます。
また、必要なフォントとその特性を選択できる
フォントビューアーもあります。 また、Chromeでは、これに加えて、特別な
拡張機能が提供されています。
すでに述べたように、APIの使用は非常に簡単です。 Webページの<head> ... </ head>セクションに、必要なCSSをロードする行を追加するだけです。
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
CSS :
h1 { font-family: 'Lobster', arial, serif; }
API? Google Font API ( <link>), Font API , . CSS.
IE, <link> <head>. IE, <script>, , - .
Chrome, Opera, Safari Internet Explorer , , FireFox . Google , , FireFox.
, Google :
<html> <head> <script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" > </script> <script type= "text/javascript" > WebFont.load({ google: { families: [ 'Tangerine' , 'Cantarell' ] } }); </script> <style type= "text/css" > .wf-inactive p { font-family: serif } .wf-active p { font-family: 'Tangerine' , serif } .wf-inactive h1 { font-family: serif; font-size: 16px } .wf-active h1 { font-family: 'Cantarell' , serif; font-size: 16px } </style> </head> <body> <h1>This is using Cantarell</h1> <p>This is using Tangerine!</p> </body> </html> * This source code was highlighted with Source Code Highlighter .
興味のある方は、
Google Font APIにアクセスして利用可能なフォントのリストを確認し、ドキュメントを読むことをお勧めします。
だから、最も最適なもの-あなたは
常に選択する必要
があります、私はこの主題について私の考えをもたらしました。 たぶん誰かがこれが最良の方法であると判断し、誰かがそれをしない方法を見るでしょう。 はい、実装例は異質です。
いずれにせよ、あなたの選択があなたがしている仕事を支持するようにしてください。