10.Font Family -Issue


#1

Hi all,

the code below shows me error :

"Oops, try again. It looks like your second

  • 's font-size is 16px instead of 12px."

    This topic has been raised before, but even when I removed the <h tag it didnt help.

    10.Font Family

    Oops, try again. It looks like your second

  • 's font-size is 16px instead of 12px.

    <!DOCTYPE html>
    <html>
    	<head>
    		<title>Loving the font changes</title>
    	</head>
    	<body>
    		    <h1 style="font-family:Arial">Big title</h1>
    		    <ol>
    		 	<li style="font-family:Arial;font-size= 16px">This item is big Arial.</li>
    		 	<li style="font-family:Verdana;font-size= 12px">This item is medium Verdana.</li>
    		 	<li style="font-family:impact;font-size= 10px">This item is small Impact.</li>
    		 </ol>
    	</body>
    </html>

  • #2

    you have a equal sign after font-size, this should be a colon


    #4

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