linking css to a html file code example Example: add css to an html file <link rel=“stylesheet” type=“text/css” href=“style.css” />