Question: Where is it best to declare the `font-family` CSS property? On the `html` or `body` element?

```
html {
    font-family: sans-serif;
}

```

or

```
body {
    font-family: sans-serif;
}

```

I searched online, but I cant find a definitive answer.

Answer: 
I know most people set the font family on the body element. But since there is no right or wrong (all elements are children of the html and body element), pick one and stick to it. This goes for all of the programming choices you make. This makes debugging your work a lot easier.
for change font-family for your site, you can use this :

```
*{
   font-family:"your-font-family";
}

```

or this :

```
html, body, div, span, applet, object, iframe, table, caption, tbody, tfoot, thead, tr, th, td,
del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend {
  font-family: iransans !important;
}

```