Font Problem


#1


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>
<html>
	<head>
		<title>Loving the font changes</title>
	</head>
	<body>
		<h1 style="font-family: Arial">Big title</h1>
		 <ol>
		 	<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>
		 </ol>
	</body>
</html>


#2

@smithkd98,
-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


#3

Thank you for your help!


#4

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