Welcome Guest! (App Version 3.1)

websitnero logo name

HTML Font Family

What is the use of HTML Language

Font Family defines the font characteristics that are to be used for certain element. Font Family has got its own font files and all characters or symbols are already defined in it. By changing font families you can control the look and feel of all characters, numbers, special symbols and other keys on an HTML page.

Element {font-family: name of font-family}

p {font-family: "Times New Roman"}

Example

<head>
<style>
  .p1 {font-family: "Times New Roman";}
  .p2 {font-family: "Arial";}
  .p3 {font-family: "Comic Sans MS";}
</style>
</head>

<body>
  <p class="p1">This is paragraph 1.</p>
  <p class="p2">This is paragraph 2.</p>
  <p class="p3">This is paragraph 3.</p>
</body>
Further Reading

1. font-family

WebsiteNero is highly optimized for learning various website developing technlogies. We try our best to add maximum modules and examples to help learn the concepts clearly and vividly. We try to present all content and examples as simple as we can removing any complexity to hurdle easy understanding. We try best provide you with worthful content, but we cannot guarantee full correctness of all the content on this site. While using this website, you agree to have read and accepted all our terms of use and conditions, cookie, and privacy policy. Copyright, 2013-2018 by websitenero.com. All Rights Reserved.