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