在编译器中可以显示style标签的内容,但是服务器开启并打开之后没有效果
,然后查看网页源代码,发现并没有style标签,但是在浏览器的基础上编写源代码又有效果是什么情况?
<style rel="stylesheet">
*{
margin: 0;
padding: 0;
}
html,body{
height: 100%;
overflow: hidden;
text-align: center;
background-color: beige;
}
</style>