Thomas Hutton Thomas Hutton - 1 year ago 92
HTML Question

Font Color Isn't Changing

I know this is a rookie question, but why isn't my font colour changing?


<h1 class="InternetTitle">Internet Services</h1>


.InternetTitle {
color: 2777fd;
text-align: center;

It aligns my text vertically, but it doesn't change my color. And I can't figure out why.

I've also tried:

<h1>Internet Services</h1>

h1 {
color: 2777fd;
text-align: center;

Answer Source

You're missing the # - color: #2777fd.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download