So i got 2 files divCeption.html and styles.css with the following code :
body {
margin: 0;
}
#d1 {
background-color: #ff000a;
height: 100%;
width: 100%;
}
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="d1"></div>
</body>
</html>
This code works and it does what it is suposed to do: show a red screen on the screen.
Ok, problem comes here, notice the <!doctype html>
missing at the start of the HTML. If i place the doctype at the start of the HTML the page will come blank... Can anyone explain me why that doctype is giving troubles?