<!DOCTYPE html> <html> <head> <style type="text/css"> @font-face { font-family: foo; src: url("http://spaces in hostname/"); } body { font-family: foo, monospace; } </style> </head> <body> foo bar </body> </html>