How to Apply global font to whole HTML document

后端 未结 6 971
悲&欢浪女
悲&欢浪女 2020-12-07 08:57

I have a HTML page which includes some text and formatting. I want to make it have the same font-family and the same text-size ignoring all inner formatting of text.

6条回答
  •  庸人自扰
    2020-12-07 09:35

    Set it in the body selector of your css. E.g.

    body {
        font: 16px Arial, sans-serif;
    }
    

提交回复
热议问题