html set font and size code example Example 1: html font size <span style="font-size:20px;"></span> Example 2: how to increase font size in html font-size: 25px;