0 like 0 dislike
6 views
asked in Programming by (4.5k points)

How I can to include specific font in CSS?

Your answer

pre, code

Preview

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

0 like 0 dislike
answered by (4.5k points)

For including specific fonts use next CSS rules: @font-face, @import.

Examples

@import CSS rule:

@import url(https://fonts.googleapis.com/css?family=Tahoma:600,400);

@font-face CSS rule:

@font-face {
    font-family: Tahoma Light;
    src: url(/font/Tahoma_Light.ttf);
}

Related questions

0 like 0 dislike
1 answer 42 views
0 like 0 dislike
1 answer 26 views
0 like 0 dislike
1 answer 11 views
0 like 0 dislike
1 answer 16 views
0 like 0 dislike
1 answer 2 views
0 like 0 dislike
1 answer 1 view
0 like 0 dislike
1 answer 9 views
...