font types html w3shools code example Example: how to change font in html <font face="yourfont"> Lorem Ipsum </font>