<!DOCTYPE html> <style> @font-face { font-family: test; src: url(../fonts/markA.woff); } div { font-family: test, serif; font-size: 50px; line-height: 2em; } </style> <div> ABC </div>