I am a beginner in PHP, Here is what I have written in PHP file:
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="styles\style.css">
</head>
<body>
<p id="sku">sku</p>
</body>
</html>
in HTML file I have written same code:
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="styles\style.css">
</head>
<body>
<p id="sku">sku</p>
</body>
</html>
then I styled both of them but got the different outcome, here is what I have written in style.css:
*{
margin:0px;
padding: 0px;
}
p{
color: red;
}
problem is in the PHP tag is blue and in HTML it is red. Earlier I have tried many things and probably blue stayed but I don't know why.I used to change the style of PHP and it changed, but when I changed it once again it stuck on that style.