I'm in the process of creating my very first web page. I added some code to change the background color, but it's not working as expected.
The code seems correct, so why isn't it displaying properly when I preview the page?
It turns out that I accidentally changed the default program for opening css files to "Skype," which caused a bit of confusion. I switched it back to Notepad, but still encountered the same issue. Now I'm unsure about what should actually be the default program for opening these types of files.
<!doctype html>
<html>
<head>
<title> My Web Page </title>
<style>
body {
background:red;
}
</style>
</head>
<body>
<h1>My Website</h1>
<h2>This is the content of my homepage.</h2>
</body>
</html>