There is a lot of good learning to be had at the W3Schools. Here is one of the pages that covers Font Face.
http://www.w3schools.com/cssref/css3...-face_rule.asp
I would highly recommend walking through a couple of their tutorials in order to get an idea of what's going on. After you do that, this might make more sense:
in css:
Code:
@font-face {
font-family: Bodebeck;
src: url("../Fonts/Bodebeck.ttf");
font-style: normal
}
@font-face {
font-family: "Sloops Two";
src: url("../Fonts/Sloops.ttf");
font-style: normal
}
h2 {font-family:Bodebeck, serif}
p.first {font-family:"Sloops Two", sans-serif}
and in html:
Code:
<h2>Chapter 3</h2>
<p class="first">There once was a man from Nantucket.</p>