Font Problem


HTML Basics 2 Exercise 10: Font Family

It is saying that my font size on my second li is set to 16 and not 12

Replace this line with your code. 
<!DOCTYPE html>
		<title>Loving the font changes</title>
		<h1 style="font-family: Arial">Big title</h1>
		 	<li><h1 style="font-size:16px;font-family:Arial">This item is big Arial.</h1></li>
		 	<li><h1 style="font-size:12px;font-family:Verdana">This item is medium Verdana.</h1></li>
		 	<li><h1 style="font-size:10px;font-family:Impact">This item is small Impact.</h1></li>


-1 why are you integrating a h1-Tag in your li-Tag ???

-2 The instruction
01. Change the font size of the first listed item (<li>) to 16px and the font to Arial.
and then your are placing the style-attribute in a h1-Tag


Thank you for your help!


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