> I have a question I am learning how to code HTML+CSS from codecademy.com and I want someone to look at my because it is

I have a question I am learning how to code HTML+CSS from codecademy.com and I want someone to look at my because it is

Posted at: 2014-12-18 
Hi There,

this works:







Sexy background color!





Favorite Football Teams





  1. The Hawthorn Football Club


  2. San Franscisco 49ers


  3. Barcelona FC








Hope it helps,

Al

You made mistakes, and this is why your HTML is not working. I am sharing with you what the right HTML is, and it should work.

You are using an HTML5 DTD. Do not use an HTML5 DTD if you are using HTML.

Don't use:

Use:

Below is good HTML.



Thi... is a paragraph.



I noticed you made some mistakes.



why won’t this work



Visit: http://www.w3schools.com/tags/att_body_b...

Visit: http://www.w3schools.com/html/html_css.a...

Visit: http://www.w3schools.com/tags/tag_doctyp...

It's

style="font-size: 50px"

In your first piece of code, you were using the wrong quotes. You have to switch to plain text mode, like you said.

Ideally, use a suitable editor like TextMate or Sublime.

The code in your third update looks fine, what exactly doesn't work?

To change fonts and background it would be much easier to use CSS. For a small website this would be fine but when it starts to grow in size it would be much easier to control that stuff from a CSS file. is the code you will need where is says href="CSS.css" just replace the CSS part with what you want to name the file. This code should be inserted in the head of the HTML file. Here is a quick example of the CSS code and more or less what is should look like. the "#49311C" is the hex code for a brown color.

body {

background: #49311C

}