<!DOCTYPE html>
<body>
<style>
@font-face {
font-family: Ahem;
src: url(../fonts/Ahem.ttf);
}
#a { font-family: Ahem }
</style>
<p id=a>First</p>
<p style="color: blue">Second</p>
<p>Third</p>
</body>