html code syntax question?

stuck student

New member
Hey folks very new to html trying to used an embedded css to make the background color black with white letters. I placed the following code into the header of the page but I must have the syntax off or something, as after saving it, when I run the page nothing has happened, still have default white background with black letters. A little help please! Here's what I've got, this is placed inside the head tag of the page.

<style type="text/css">
style={color:white;background-color:black}
</style>
ok so you are saying that I only put the <style= text/css> in the header tag and then I add the actual styles in the <body> tag?
 
Back
Top