Font family in css in web development

What is font family?

Font family represents the different type of fonts for text.

Example:

<html>
<head>
<style>
.height_set
{
color : green;
background : yellow;
font-family:”Times New Roman”;
}
</style>
</head>
<body>
<div class=”height_set”>this is font family representation in time new roman</div></h1>
</body>
</html>

Output:

This is font family representation in time new roman

Different font families:

This is Times new roman
This is impact
This is verdana
This is Times comic sans ms

and many other font families are also available for use in CSS.

 

 

Fazal Rehman Shamil
Welcome to all friends. The reason for our success is only your love for T4Tutorials. Our team is always available to answer your queries regarding any kind of confusions or discussion regarding your study and career matters. For discussion with us please join our facebook group "T4Tutorials.com". The link of the group is mentioned below. Thanks and love to all for connecting with us. We are nothing without you. Love you all.....
https://web.facebook.com/groups/2066136233601097/

Leave a Reply