Code examples from Visual Stylin' with CSS3 by Charles Wyke-Smith
<link href=
'http://fonts.googleapis.com/css?family=Prata' rel='stylesheet' type='text/css'>
@font-face {
font-family: 'UbuntuTitlingBold';
src: url('fonts/Ubuntu-Titling/UbuntuTitling-Bold-webfont.eot');
src: url('fonts/Ubuntu-Titling/UbuntuTitling-Bold-webfont.eot?#iefix')
format('embedded-opentype'),
url('fonts/Ubuntu-Titling/UbuntuTitling-Bold-webfont.woff') format('woff'),
url('fonts/Ubuntu-Titling/UbuntuTitling-Bold-webfont.ttf') format('truetype'),
url('fonts/Ubuntu-Titling/UbuntuTitling-Bold-webfont.svg#UbuntuTitlingBold')
format('svg');
font-weight: normal;
font-style: normal;
}
@fontface
rule and would be served from your Web server (in this example, it's served from a local folder)