Search code examples
htmlcssfontsfont-face

How to set font " Balzano" to the text in enclosed in <p></p> on my website?


I want to set font "Balzano" to the following text enclosed in

by means of inline css. How to achieve it?

<p>Nice Site</p>

Solution

  • Use the CSS property font-family:

    <p style="font-family:Balzano;">Nice Site</p>
    

    To make it work on machines that do not have that font installed, you need to make a web version available.