I have written a HTML code and CSS code in Notepad++. I have linked my CSS code in the below way. After saving both of the files in the same directory, I am running both of the files by double clicking them. I can see my HTML running properly in the browser. Although, when I am trying to run my CSS file, it just opens in Notepad. I have saved my CSS file as 'all type files' named as style1.css
Code for HTML:
<!doctype html>
<html lang ="en">
<head>
<meta charset = "utf-8">
<title>HTML CSS COURSE </title>
<link rel ="stylesheet" type ="text/css" href ="style1.css">
</head>
<style>
</style>
<body>
Hello World!
</body>
</html>
****Code for CSS:****
body{
background-color:red;
}