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


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>


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?


I think i understand now thnx for the help!


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


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