html - Custom Font Won't Work -


i want have custom font (hp simplified light) webpage. have font file uploaded dropbox, , have link here. nothing happens. times new roman font. i've tried testing locally, both hosting font locally, , html document, same effect.

<html> <head>  <style>     @font-face {         font-family: hp simplified;         src: url('http://dl.dropboxusercontent.com/s/dau4s6y033jkg4y/hpsimplified_lt.ttf');     }      h1 {         font-family: hp simplified     }  </style>     hello world! </html>  

your css styling h1 elements font hp simplified. text "hello world!" not h1. either can make so:

<h1>hello world!</h1> 

or can have css style font:

* {     font-family: hp simplified } 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -