I have an HTML file which I set as follows
<!DOCTYPE html>
<html lang="pt-br">
<head>
<title>Prompt</title>
<meta charset="UTF-8" />
<link rel="stylesheet" href="style/prompt.css" type="text/css">
</head>
</html>
In my file prompt.css I stylized as follows
*{margin:0; padding:0;}
body{
background:#000;
}
As a result, the browser interpreted that the TAG BODY existed and left the background in BLACK, as defined in the css.
The question is, why did this happen?