html font-size normal code example Example 1: text size in CSS font-size: 2em; Example 2: css font-size #selector{ font-size:20px; }