Hi everyone. I’ve got a newbie question for you.
I’m having a lot of trouble linking my css file to my HTML document. I’m using Sublime Text on a Mac. I have a folder on my desktop and both the html file and the css file are in that folder. There are no subfolders, yet.
Here’s my code:
Test</head>
<body>
Test
Hello
Testing
</body>
And here’s my CSS code:
/* style.css */
body
{
background: yellow;
}
.MainPageLink{
text-color: #FFFFE0
text-align: center
margin: auto
}
#missiontitle{
color:blue;
text-decoration: underline;
}
What am I doing wrong?
Can anyone please help me? Thanks a ton.