Tryit Editor v1.8

Source Code:
<!DOCTYPE html> <html> <head> <style> @font-face { font-family: myFirstFont; src: url('sansation_light.ttf') ,url('sansation_light.eot'); /* IE9 */ } div { font-family:myFirstFont; } </style> </head> <body> <p><b>Note:</b> Internet Explorer 9 only supports .eot fonts.</p> <div> With CSS3, websites can finally use fonts other than the pre selected "web-safe" fonts. </div> </body> </html>
Result:
W3Schools.com - Try it yourself