我的html引用外部样式表怎么不显示定义的效果呢?是不是我的代码写的有问题,请各位给看一下:
html文件:
<html>
<head>
<title>css</title>
<link rel=stylesheet type="text/css" href="web.css"/>
<h1>i am hero!</h1>
</head>
</html>web.css文件:
<html>
<head>
<title>css</title>
<style type="text/css">
h1{font-size:24pt;color:blue}
</style>
</head>
谢谢~
</html>