IHYPRESS PROGRAMMING
CSS examples with code and output for beginners
c programming
HOME | ASP | C | CSS | GNUPLOT | HTML | JAVASCRIPT | PERL | PHP | PYTHON | RUBY | SVG
CSS ❯ Custom Fonts
<09>
<!DOCTYPE html> <html lang="en"><head> <meta charset="utf-8"> <title>Custom Fonts</title> <style> @font-face{font-family:Frozen; src:url('fonts/frozen.ttf');} @font-face{font-family:Cowboy; src:url('fonts/cowboy.ttf');} @font-face{font-family:Collegiate; src:url('fonts/collegiate_italic.ttf'); font-style:italic;} @font-face{font-family:Collegiate; src:url('fonts/collegiate.ttf'); font-style:normal;} @import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap'); </style> </head> <body> <p style="font-family:Frozen; font-size:32px; color:#0000cc;"> This paragraph uses the Frozen custom font </p> <p style="font-family:Cowboy; font-size:32px; color:#cc0000;"> This paragraph uses the cowboy custom font </p> <p style="font-family:Collegiate; font-size:32px; color:#006600; font-style:normal;"> This paragraph uses the normal Collegiate custom font </p> <p style="font-family:Collegiate; font-size:32px; color:#003333; font-style:italic;"> This paragraph uses the italic Collegiate custom font </p> <p style="font-family:Raleway;font-size:32px;color:#660066;"> This paragraph uses the Raleway Google custom font </p> <p style="font-family:'Special Elite'; font-size:32px; color:#336699;"> This paragraph uses the Special Elite Google custom font </p> </body></html>
Hergestellt in Deutschland / Made in Germany
Custom Fonts

This paragraph uses the Frozen custom font

This paragraph uses the cowboy custom font

This paragraph uses the normal Collegiate custom font

This paragraph uses the italic Collegiate custom font

This paragraph uses the Raleway Google custom font

This paragraph uses the Special Elite Google custom font

COPYRIGHT © 2015-2024 IHY PRESS Frankfurt am Main 60329 Deutschland