9. Font color! problem with the font-size for the heading!


#1
I can't get the Heading in the font-size 16px

<!DOCTYPE html>
    <html>
         <head>
         <title>Changing the colors!</title>	
    	</head>
    	<body>
    	   <h style="color: green">
    	   <h style="font-size:16px">
    	   <h1>Big Heading</h1>
    		<h2 style="color:violet">
    			<p>A giant bear and a little duck were friends.</p>
    			<h2 style="color:red;font-size:10px">
    			<p>But the bear got hungry and ate the duck.</p>
    	</body>
    </html>

#2

what did you do? this is the code you start with:

<!DOCTYPE html>
<html>
    <head>
        <title>Changing the colors!</title>
    </head>
    <body>
        <h1>Big Heading</h1>
            <p>A giant bear and a little duck were friends.</p>
            <p>But the bear got hungry and ate the duck.</p>
    </body>
</html>

now, in exercise 8 you learned that you could add a style attribute to a opening tag, for example if i have a paragraph:

<p>i am a paragraph</p>

you can add the style attribute to it:

<p style="color: red;">i am a paragraph</p>

no need to create extra opening tags (the h2 in the example of the exercise is just to test you, you don't need any h2 tags. You can add the style attribute to p and h1. if you want multiply property's + values you can simple seperate them by a semi-colon:

<p style="color: red; font-weight: bold">i am a paragraph</p>

your code is a mess, try again based on what i tell in this answer, i recommend to reset


#3

Thank you very much!!


#4

im lose i dont get it


#5

I am not allowed to curse, your like the third in four question who post something i can't do anything with. Yes, i can understand you are lost, but can you understand, that without any code, or more detail there is anything i can do? I think my earlier answe in this topic covers a lot