How do you declare a list font size?

Code:
li { font-size: 12px; }
Is what I've got now.