title: How to include a font .ttf using CSS?
body: <p>I have a problem with my code. Because I want to include a global font for my page and I downloaded a .ttf file. And I include it in my main CSS but my font wont change.</p>
  
  <p>Here's my simple code:</p>
  
  <pre><code>@font-face {
      font-family: 'oswald';
      src: url('/font/oswald.regular.ttf');
  }
  
  html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
      margin:0;
      padding:0;
      border:0;
      font-size:100%;
      font:inherit;
      font-family: oswald;
      vertical-align:baseline
  } 
  </code></pre>
  
  <p>I don't know where did I go wrong. Can you help me with this? Thanks.</p>