Answers for "web fonts html"

1

sans serif font family css

<style>
.sansserif {
font-family: Arial, Helvetica, sans-serif;
}
</style>
Posted by: Guest on September-22-2020
0

use font on website html

<style type="text/css">
@font-face {
    font-family: "My Custom Font";
    src: url(http://www.example.org/mycustomfont.ttf) format("truetype");
}
p.customfont { 
    font-family: "My Custom Font", Verdana, Tahoma;
}
</style>
<p class="customfont">Hello world!</p>
Posted by: Guest on October-05-2020

Browse Popular Code Answers by Language