/    Sign up×
Community /Pin to ProfileBookmark

I am new to html and I am trying to get a font to display on my webpage but it is not working. I ahve place the ttf file in the same folder as the page. What do I need in my code for this font to show up when anyone views my site?

Thanks
Robert

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@FangApr 20.2005 — Set the font [URL=http://www.w3schools.com/css/tryit.asp?filename=trycss_font-family]using css[/URL]
Copy linkTweet thisAlerts:
@AdamGundryApr 20.2005 — Embedding fonts in your page is a nontrivial operation and will probably only work in some browsers. [url=http://morovia.com/font/support/embed-font-web.asp]This article[/url] outlines some possible methods, but make sure you specify a list of standard fonts as well as the custom font.

Adam
×

Success!

Help @rjshimanek3 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...