0

I have used the font Arial Rounded MT Bold for my H1 heading through CSS. I have the font installed on my computer. But it still won't show when I preview the HTML file.

HTML:

<h1>CSS-Tricks</h1>

CSS:

h1 {
color:#FFF;
font-family: "Arial Rounded MT Bold", "Helvetica Rounded", Arial, sans-serif;
font-size: 65px;
font-weight: 100;
line-height:25px;
padding:30px;
}

Sorry for basic question but I am new to HTML/CSS.

Grey-lover
  • 635
  • 3
  • 7
  • 21

2 Answers2

3

You can put color is different because by default background color is white and you can put different color

HTML

<h1>CSS-Tricks</h1> 

CSS

 h1 {
    color:red;
    font-family: "Arial Rounded MT Bold", "Helvetica Rounded", Arial, sans-serif;
    font-size: 65px;
    font-weight: 100;
    line-height:25px;
    padding:30px;
    }

Font Red Color Demo HERE

Font White Color Demo HERE

Sumit patel
  • 3,807
  • 9
  • 34
  • 61
0

Because #FFF is white color, try changing the color into other.

Ranjana Ghimire
  • 1,785
  • 1
  • 12
  • 20