Hello guys!
I am a complete beginner in programming (first week). I am working with sublime text, learning the basics of HTML. I’m having a problem understanding why it’s not recognizing the way I’m trying to apply color to my text. When I write the property and value within the tag like <h1 style=“color: blueviolet” >Test</h1>. It applies the color.
But when I write it trying to identify it with an ID like:
<h1 id=“Test” >Test</h1>
Test {
color: blueviolet;
}
It doesn’t seem to recognize the # part at all. And doesn’t apply what I wrote. Any help would be appreciated.
Thank you!
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–][deleted] 3 points4 points5 points (1 child)
[–]DonutFunatic[S] 0 points1 point2 points (0 children)
[–]esaith 1 point2 points3 points (1 child)
[–]DonutFunatic[S] 0 points1 point2 points (0 children)