Categories: Css3

Webfonts Explained

Share

Unlike web safe fonts a webfont is a special font used on websites using the CSS @font-face declaration. A webfont has four flavors. A TrueType, WOFF, EOT and an SVG file. To target in different browsers each one is designed. You will require all four files when using webfonts for a website.

You can get sample webfonts from here.

Webfonts for HTML:

<link href="http://fonts.googleapis.com/css?family=Satisfy" rel="stylesheet" />
<h1>This is my pretty and good webfonts!</h1>

CSS:

h1{
    font-family: Satisfy, cursive;
    font-weight:normal;
    font-size:22px;
    padding-top: 40px;
}

Recent Posts

What Is Commonly Misdiagnosed as Pink Eye: Understanding Eye Conditions and Their Symptoms

Introduction: Pink eye, or conjunctivitis, is a common eye condition characterized by redness and inflammation…

18 hours ago

Why Flexible Financing is the Future of Small Business

Small businesses are the backbone of the economy. Still, they often face daunting hurdles when…

1 day ago

Warm Comfort: Choosing the Best Hot Water Bottle for Cozy Nights

Introduction: As the chill of winter settles in or a bout of cold weather strikes,…

2 days ago

One Location, Different Perspectives: The Allure of Dubai Marina Apartments

Nestled along the glittering waterfront of the City of Gold, Dubai Marina beckons to discerning…

2 days ago

How to launch a successful online dating app?

If you want to open a match-making dating app in the wide digital market and…

2 days ago

Role Of Gojek Clone In Growth Campaigns For Your Business

When was the last time you heard that a clone app like Gojek could efficiently…

2 days ago