<html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> @font-face { font-family: foo; src: url(../fonts/DejaVuSansMono.woff); } div { font-family: foo; } </style> </head> <body> <div>Hello world 123</div> </body> </html>