By using the Google Font API to add web fonts to your web pages. You don't need to do any programming; all you have to do is add a special stylesheet link to your HTML document, then refer to the font in a CSS style.
Javascript link:
Code Snippet
- <link href='http://fonts.googleapis.com/css?family=IM+Fell+Great+Primer+SC&subset=latin' rel='stylesheet' type='text/css'>
CSS:
Code Snippet
- <style type="text/css">
- h1 { font-family: 'IM Fell Great Primer SC', arial, serif; }
- style>
HTML:
Code Snippet
- <div>
- <h1>123code.blogspot.comh1>
- div>
Output:
More information: here
Comments