Css Font List Code Example


Example 1: css comic sans


font-family: "Comic Sans MS", "Comic Sans", cursive;

Example 2: sans serif font family css


<style>
.sansserif
{
font-family: Arial, Helvetica, sans-serif;
}
</style>

Example 3: css font family


p{
font-family:garamond,serif;
}

Example 4: font-family css


font-family: "Times New Roman", Georgia, serif;
/* If the browser does not support the first font (ie: Times New Roman),
it will then try the next font (ie: Georgia). The last font should always
be a "generic-family" font (ie: serif, sans-serif, etc..).
/* If font is more then one word, it must be put into quotes. */

Example 5: font family css


font-family: "Comic Sans MS", cursive, sans-serif;

Example 6: css font families


p {
font-family: "Times New Roman", Times, serif;
}

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable