

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Describe a font face for use in a document in CSS
To describe a font face, use the @font-face rule. You can try to run the following code to set the font face −
Example
<style> <!-- @font-face { font-family: "Scarborough Light"; src: url("http://www.font.site/s/scarbo-lt"); } @font-face { font-family: Santiago; src: local ("Santiago"), url("http://www.font.site/s/santiago.tt") format("truetype"); unicode-range: U+??,U+100-220; font-size: all; font-family: sans-serif; } --> </style>
- Related Questions & Answers
- Change the font face with CSS
- Usage of CSS @font-face rule
- How to change font face of Webview in Android?
- How to define the location of a font for download in CSS
- How to set font face, style, size and color for JTextPane text in Java
- Make a font italic with CSS
- How to use a custom font in Tkinter?
- Font Properties in CSS
- Font Family in CSS
- Font Size in CSS
- Font Weight in CSS
- Font Style in CSS
- Font Variant in CSS
- How to use custom font in a android project?
- How to change the font face of Webview in Android using Kotlin?
Advertisements