Can't figure out why it's saying my font size is wrong


#1

Error message says

Oops, try again.
It looks like your second <li>'s font-size is 16px instead of 12px.

Dunno if I'm missing < or > or / or what.

<!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; size: 16px">This item is big Arial.</li>
             <li style="font-family: Verdana; size: 12px">This item is medium Verdana.</li>
             <li style="font-family: Impact; size: 10px">This item is small Impact.</li>
         </ol>
    </body>
</html>


Thanks for your help.


#2

to change the font size write like
font-size: 16px;


#3

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