CSS not working on sublime text!

Hi I’m currently having problems making CSS work in Sublime Text. So far HTML works but not the CSS. Here is the code that i’ve inputted:

<!DOCTYPE html>
	<title>First Web Page</title>
		background: f4f4f4;
	<header><h1>The Best Web Page!</h1></header>
	<p>Hello this is the first line</p>


What exactly is it that’s going wrong? Would be great if anyone could help. Cheers!

If you are using hexcodes for color, it should start with a # symbol,

The background color property should look like this,

background: #f4f4f4;

Note: background is a short hand property

1 Like

Сравнение содержимого двух файлов в Sublime Text