inline css font style code example Example 1: how to add css to html <link rel="stylesheet" href="hi.css"> Example 2: html inline style <element style="css">