Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 为什么.css文件不改变字体系列?_Html_Css_Hyperlink - Fatal编程技术网

Html 为什么.css文件不改变字体系列?

Html 为什么.css文件不改变字体系列?,html,css,hyperlink,Html,Css,Hyperlink,我有一个.html文件,可以访问style.css文件: <html> <head> <link rel = "stylesheet" href = "../style.css"/> </head> <body> <p> This is it. </p> </body> </html> GNU

我有一个.html文件,可以访问style.css文件:

<html>
  <head>
    <link rel = "stylesheet" href = "../style.css"/>
  </head>
  <body>
    <p>
      This is it.
    </p>
  </body>
</html>
  GNU nano 4.8                /var/www/html/style.css                           
body {
  margin: 0;
  font-family: Arial;
  text-align: center;
}
a {
  font-size: 50px;
  margin: 5px 10px 5px 0px;
}
h1 {
  margin: 10px;
  font-size: 100px;
}
p {
  font-family: Arial;
  font-size: 55px;
}
我知道.html文件正确地链接到.css文件,因为文本在中间对齐,字体大小是80px,但是字体族不是ARIAL,它是默认的Linux MINT字体。
如果我在.html文件中使用