<!DOCTYPE html> <html> <head> <title>Changing the colors!</title> </head> <body> <h1 style="color: green; font-size= 16px">Big Heading</h1> <p style="color: violet">A giant bear and a little duck were friends.</p> <p style="color: red; font-size= 10px">But the bear got hungry and ate the duck.</p> </body> </html>
after font-size, there should be a colon, not a equal sign.
Brillant!! Thank you for your help in regards to the equal sign needing to be a semi-colon AND for showing me how to display in a preformatted version!
3 posts were split to a new topic: 9. font-color