HTML Basics II 9. Font Color (Issue With Font Size)


#1

https://www.codecademy.com/en/courses/web-beginner-en-y2Yjd/1/3?curriculum_id=50579fb998b470000202dc8b

Oops, try again. It looks like your header's font-size is 32px instead of 16px.


		<h1 style="color: green"; "font-size: 16px">Big Heading</h1>


#2

Both styles need to be within one pair of quotes;

<h1 style="color: green; font-size: 16px;">Big heading</h1>

You can add as many styles as you want inside opening tags, as long as you always put them inside the quotes after style= and you separate them with semicolons;

<tag style="property: value; property: value; property: value; property: value;">...</tag>

Do you understand?


#3

I think i understand now thnx for the help!


#4

2 posts were split to a new topic: 9. Font color


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.